class Ronin::Support::Crypto::Cipher::AES256
The AES256
cipher.
Public Class Methods
Source
# File lib/ronin/support/crypto/cipher/aes256.rb, line 39 def initialize(hash: :sha256, **kwargs) super(key_size: 256, hash: hash, **kwargs) end
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}.
Calls superclass method
Ronin::Support::Crypto::Cipher::AES::new
Source
# File lib/ronin/support/crypto/cipher/aes256.rb, line 49 def self.supported super().grep(/^aes(?:-)?256/) end
The list of supported AES
256bit ciphers.
@return [Array<String>]
The list of supported AES 256bit cipher names.
Calls superclass method
Ronin::Support::Crypto::Cipher::AES::supported