19 lines
396 B
Ruby
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
|