class JWA::Algorithms::ContentEncryption::A256CbcHs512

Public Class Methods

cipher_name() click to toggle source
# File lib/jwa/algorithms/content_encryption/a256_cbc_hs512.rb, line 18
def cipher_name
  'AES-256-CBC'
end
enc_name() click to toggle source
# File lib/jwa/algorithms/content_encryption/a256_cbc_hs512.rb, line 10
def enc_name
  'A256CBC-HS512'
end
hash() click to toggle source
# File lib/jwa/algorithms/content_encryption/a256_cbc_hs512.rb, line 22
def hash
  OpenSSL::Digest::SHA512.new
end
key_length() click to toggle source
# File lib/jwa/algorithms/content_encryption/a256_cbc_hs512.rb, line 14
def key_length
  64
end