Package pike :: Module crypto
[hide private]
[frames] | no frames]

Module crypto

source code

Classes [hide private]
  CipherMismatch
  Ciphers
  EncryptionCapabilities
  EncryptionCapabilitiesRequest
  EncryptionCapabilitiesResponse
  TransformHeader
TransformHeader is designed to be a transparent slip attached to a Netbios frame object (specified as parent).
  CryptoKeys300
Key generation for SMB 0x300 and 0x302
  CryptoKeys311
Key generation for SMB 0x311 +
  EncryptionContext
Encapsulates all information needed to encrypt and decrypt messages.
Functions [hide private]
 
pad_right(value, length, byte='\x00') source code
Variables [hide private]
  cipher_map = {SMB2_AES_128_CCM: (8, 11), SMB2_AES_128_GCM: (11...
  SMB2_AES_128_CCM = SMB2_AES_128_CCM
  SMB2_AES_128_GCM = SMB2_AES_128_GCM
  SMB2_NONE_CIPHER = SMB2_NONE_CIPHER
  __package__ = 'pike'
Variables Details [hide private]

cipher_map

Value:
{SMB2_AES_128_CCM: (8, 11), SMB2_AES_128_GCM: (11, 12)}