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/aes256_cts_sha1.rb
Views: 11765
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-aes256 encryption type, per RFC 3962
10
class Aes256CtsSha1 < AesBlockCipherBase
11
SEED_SIZE = 32
12
ENCRYPT_CIPHER_NAME = 'aes-256-cbc'
13
DECRYPT_CIPHER_NAME = 'aes-256-ecb'
14
end
15
end
16
end
17
end
18
end
19
20