CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/lib/rex/proto/kerberos/crypto/aes128_cts_sha1.rb
Views: 11766
1
# -*- coding: binary -*-
2
3
require 'rex/text'
4
5
module Rex
6
module Proto
7
module Kerberos
8
module Crypto
9
# Implementation of hmac-sha1-96-aes128 encryption type, per RFC 3962
10
class Aes128CtsSha1 < AesBlockCipherBase
11
SEED_SIZE = 16
12
ENCRYPT_CIPHER_NAME = 'aes-128-cbc'
13
DECRYPT_CIPHER_NAME = 'aes-128-ecb'
14
end
15
end
16
end
17
end
18
end
19
20