Class: Rex::Proto::Kerberos::Crypto::Aes128CtsSha1

Inherits:
AesBlockCipherBase show all
Defined in:
lib/rex/proto/kerberos/crypto/aes128_cts_sha1.rb

Overview

Implementation of hmac-sha1-96-aes128 encryption type, per RFC 3962

Constant Summary collapse

SEED_SIZE =
16
ENCRYPT_CIPHER_NAME =
'aes-128-cbc'
DECRYPT_CIPHER_NAME =
'aes-128-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

#xor_bytes, #xor_strings

Methods inherited from BlockCipherBase

#add_ones_complement, #calculate_encrypted_length, #checksum, #decrypt, #encrypt, #gss_unwrap, #gss_wrap, #rotate_right, #string_to_key