module Sprockets::DigestUtils
def pack_urlsafe_base64digest(bin)
bin - String bytes
Internal: Pack a binary digest to a urlsafe base64 encoded string.
def pack_urlsafe_base64digest(bin) pack_base64digest(bin).tr('+/', '-_').tr('=', '') end
def pack_urlsafe_base64digest(bin) pack_base64digest(bin).tr('+/', '-_').tr('=', '') end