Class: Rex::Proto::Kerberos::Crypto::Aes256CtsSha1
- Inherits:
-
AesBlockCipherBase
- Object
- BlockCipherBase
- AesBlockCipherBase
- Rex::Proto::Kerberos::Crypto::Aes256CtsSha1
- Defined in:
- lib/rex/proto/kerberos/crypto/aes256_cts_sha1.rb
Overview
Implementation of hmac-sha1-96-aes256 encryption type, per RFC 3962
Constant Summary collapse
- SEED_SIZE =
32
- ENCRYPT_CIPHER_NAME =
'aes-256-cbc'
- DECRYPT_CIPHER_NAME =
'aes-256-ecb'
Constants inherited from AesBlockCipherBase
Rex::Proto::Kerberos::Crypto::AesBlockCipherBase::BLOCK_SIZE, Rex::Proto::Kerberos::Crypto::AesBlockCipherBase::HASH_FUNCTION, Rex::Proto::Kerberos::Crypto::AesBlockCipherBase::MAC_SIZE, Rex::Proto::Kerberos::Crypto::AesBlockCipherBase::PADDING_SIZE
Constants included from GssNewEncryptionType
GssNewEncryptionType::GSS_ACCEPTOR_SUBKEY, GssNewEncryptionType::GSS_HEADER_LEN, GssNewEncryptionType::GSS_SEALED, GssNewEncryptionType::GSS_SENT_BY_ACCEPTOR, GssNewEncryptionType::TOK_ID_GSS_WRAP
Method Summary
Methods inherited from AesBlockCipherBase
#decrypt_basic, #encrypt_basic, #header_byte_count, #string_to_key, #trailing_byte_count
Methods included from GssNewEncryptionType
#calculate_encrypted_length, #gss_unwrap, #gss_wrap
Methods included from Utils
Methods inherited from BlockCipherBase
#add_ones_complement, #calculate_encrypted_length, #checksum, #decrypt, #encrypt, #gss_unwrap, #gss_wrap, #rotate_right, #string_to_key