Module: JWA::Algorithms::ContentEncryption::AesGcm::ClassMethods

Defined in:
lib/jwa/algorithms/content_encryption/aes_gcm.rb

Instance Method Summary collapse

Instance Method Details

#available?Boolean

Returns:

  • (Boolean)


54
55
56
57
58
59
# File 'lib/jwa/algorithms/content_encryption/aes_gcm.rb', line 54

def available?
  Cipher.for(cipher_name)
  true
rescue NotImplementedError
  false
end