Method: Ccrypto::Ruby::DigestEngine#digest

Defined in:
lib/ccrypto/ruby/engines/digest_engine.rb

#digest(val, output = :binary) ⇒ Object



93
94
95
96
# File 'lib/ccrypto/ruby/engines/digest_engine.rb', line 93

def digest(val, output = :binary)
  digest_update(val)
  digest_final(output)
end