module Sprockets::DigestUtils

def pack_urlsafe_base64digest(bin)

Experimental RBS support (using type sampling data from the type_fusion project).

def pack_urlsafe_base64digest: (String bin) -> String

This signature was generated using 74 samples from 5 applications.

Returns urlsafe base64 String.

bin - String bytes

Internal: Pack a binary digest to a urlsafe base64 encoded string.
def pack_urlsafe_base64digest(bin)
  str = pack_base64digest(bin)
  str.tr!('+/'.freeze, '-_'.freeze)
  str.tr!('='.freeze, ''.freeze)
  str
end