AES-GCM implementation. Note: this implementation does not attempt to
be side-channel resistant. It's also rather slow.
|
|
__init__(self,
key,
implementation,
rawAesEncrypt)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
|
|
_mul(self,
y)
Returns y*H, where H is the GCM key. |
source code
|
|
|
|
|
|
|
|
|
|
open(self,
nonce,
ciphertext,
data)
Decrypts and authenticates ciphertext using nonce and data. |
source code
|
|
|
|
seal(self,
nonce,
plaintext,
data)
Encrypts and authenticates plaintext using nonce and data. |
source code
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|