Method: JsonWebToken::Algorithm::Common#digest_new
- Defined in:
- lib/json_web_token/algorithm/common.rb
#digest_new(sha_bits) ⇒ Object
22 23 24 |
# File 'lib/json_web_token/algorithm/common.rb', line 22 def digest_new(sha_bits) OpenSSL::Digest.new("sha#{sha_bits}") end |