class Ronin::Support::Crypto::Cipher::AES128

The AES128 cipher.

Public Class Methods

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

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}.
# File lib/ronin/support/crypto/cipher/aes128.rb, line 39
def initialize(hash: :md5, **kwargs)
  super(key_size: 128, hash: hash, **kwargs)
end
supported() click to toggle source

The list of supported AES 128bit ciphers.

@return [Array<String>]

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