module ActionController::HttpAuthentication::Digest

def opaque(secret_key)

Opaque based on digest of secret key
def opaque(secret_key)
  OpenSSL::Digest::MD5.hexdigest(secret_key)
end