metasploit-framework/lib/rex/proto/kerberos/crypto/aes128_cts_sha1.rb

19 lines
396 B
Ruby

# -*- coding: binary -*-
require 'rex/text'
module Rex
module Proto
module Kerberos
module Crypto
# Implementation of hmac-sha1-96-aes128 encryption type, per RFC 3962
class Aes128CtsSha1 < AesBlockCipherBase
SEED_SIZE = 16
ENCRYPT_CIPHER_NAME = 'aes-128-cbc'
DECRYPT_CIPHER_NAME = 'aes-128-ecb'
end
end
end
end
end