class JWA::Algorithms::ContentEncryption::A128CbcHs256

Public Class Methods

cipher_name() click to toggle source
# File lib/jwa/algorithms/content_encryption/a128_cbc_hs256.rb, line 18
def cipher_name
  'AES-128-CBC'
end
enc_name() click to toggle source
# File lib/jwa/algorithms/content_encryption/a128_cbc_hs256.rb, line 10
def enc_name
  'A128CBC-HS256'
end
hash() click to toggle source
# File lib/jwa/algorithms/content_encryption/a128_cbc_hs256.rb, line 22
def hash
  OpenSSL::Digest::SHA256.new
end
key_length() click to toggle source
# File lib/jwa/algorithms/content_encryption/a128_cbc_hs256.rb, line 14
def key_length
  32
end