class Ronin::Support::Crypto::Cipher::AES256

The AES256 cipher.

Public Class Methods

new(hash: :sha256, **kwargs) click to toggle source

Initializes the AES 256bit cipher.

@param [Symbol] hash

The hashing algorithm to use to generate the key.

@param [Hash{Symbol => Object}] kwargs

Additional keyword arguments for {Cipher#initialize}.
# File lib/ronin/support/crypto/cipher/aes256.rb, line 39
def initialize(hash: :sha256, **kwargs)
  super(key_size: 256, hash: hash, **kwargs)
end
supported() click to toggle source

The list of supported AES 256bit ciphers.

@return [Array<String>]

The list of supported AES 256bit cipher names.
# File lib/ronin/support/crypto/cipher/aes256.rb, line 49
def self.supported
  super().grep(/^aes(?:-)?256/)
end