class Ronin::Support::Crypto::Cipher::AES128
The AES128
cipher.
Public Class Methods
Source
# File lib/ronin/support/crypto/cipher/aes128.rb, line 39 def initialize(hash: :md5, **kwargs) super(key_size: 128, hash: hash, **kwargs) end
Initializes the AES
128bit cipher.
@param [Symbol] hash
The hashing algorithm to use to generate the key.
@param [Hash{Symbol => Object}] kwargs
Additional keyword arguments for {AES#initialize}.
Calls superclass method
Ronin::Support::Crypto::Cipher::AES::new
Source
# File lib/ronin/support/crypto/cipher/aes128.rb, line 49 def self.supported super().grep(/^aes(?:-)?128/) end
The list of supported AES
128bit ciphers.
@return [Array<String>]
The list of supported AES 128bit cipher names.
Calls superclass method
Ronin::Support::Crypto::Cipher::AES::supported