class Sprockets::Base
def digest_class=(klass)
environment.digest_class = Digest::SHA1
`Digest::SHA1`.
`Digest::` implementation such as `Digest::MD5` or
Assign a `Digest` implementation class. This maybe any Ruby
def digest_class=(klass) expire_index! @digest_class = klass end