Client SDK Version 1.8.0
Ionic Security client SDK for Python users
|
Cipher class that implements AES GCM. More...
Public Member Functions | |
def | __init__ (self, keydata, authdata) |
Constructs a cipher with key and auth data. More... | |
![]() | |
def | __init__ (self) |
Constructs a cipher with default values. | |
def | encryptstr (self, plaintext) |
Encrypts a Unicode or UTF-8 encoded string in memory. More... | |
def | encryptbytes (self, plaintextbytes) |
Encrypts a byte array in memory. More... | |
def | decryptstr (self, ciphertext) |
Decrypts ciphertext in memory to a unicode string. More... | |
def | decryptbytes (self, ciphertext) |
Decrypts ciphertext in memory to a byte array. More... | |
Cipher class that implements AES GCM.
The authentication tag is 16 bytes and will be appended to the end of the ciphertext.
def ionicsdk.cryptocipher.AesGcmCipher.__init__ | ( | self, | |
keydata, | |||
authdata | |||
) |
Constructs a cipher with key and auth data.
authdata | (bytes): The AES GCM Additional Authenticated Data (AAD). |
keydata | (bytes): The key to use for encryption or decryption. |
You acknowledge your access, review and use of the documentation on this page is subject to the Ionic Security Inc. Documentation Use Rights.
© 2016-2020 Ionic Security Inc. All rights reserved.
Generated on Wed Apr 1 2020 09:55:51 for Client SDK Version 1.8.0 by
1.8.16