Machina Client SDK Version 2.1.2
Ionic Security Machina Client SDK for Python users
|
Root Cipher class that defines the interface and includes a number of utility functions shared by all Cipher classes. More...
Public Member Functions | |
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... | |
Root Cipher class that defines the interface and includes a number of utility functions shared by all Cipher classes.
def ionicsdk.cryptocipher.CryptoCipherBase.decryptbytes | ( | self, | |
ciphertext | |||
) |
Decrypts ciphertext in memory to a byte array.
Throws an exception on any error.
ciphertext | (bytes): The bytes to decrypt |
def ionicsdk.cryptocipher.CryptoCipherBase.decryptstr | ( | self, | |
ciphertext | |||
) |
Decrypts ciphertext in memory to a unicode string.
Throws an exception on any error.
ciphertext | (bytes): The bytes to decrypt |
def ionicsdk.cryptocipher.CryptoCipherBase.encryptbytes | ( | self, | |
plaintextbytes | |||
) |
Encrypts a byte array in memory.
Throws an exception on any error.
plaintextbytes | (bytes): The bytes to encrypt |
def ionicsdk.cryptocipher.CryptoCipherBase.encryptstr | ( | self, | |
plaintext | |||
) |
Encrypts a Unicode or UTF-8 encoded string in memory.
Throws an exception on any error.
plaintext | (unicode or UTF-8 string): The text to encrypt |
You acknowledge your access, review and use of the documentation on this page is subject to the Ionic Security Inc. Documentation Use Rights.
© 2016-2021 Ionic Security Inc. All rights reserved. -
Generated on Wed Jul 21 2021 16:23:36 for Machina Client SDK Version 2.1.2 by
1.8.18