Represents AES symmetric private keys.
|
__init__(self,
key_string,
hmac_key,
size=128,
mode=CipherMode("CBC", 0, True, lambda b, i:(i/ b+ 2)* b))
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
|
string
|
|
string
|
__UnPad(self,
padded)
Returns the unpadded version of a data padded using PKCS5. |
source code
|
|
string
|
Encrypt(self,
data)
Return ciphertext byte string containing Header|IV|Ciph|Sig. |
source code
|
|
string
|
|
Inherited from Key :
Header
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__
|