Machina Client SDK Version 2.1.2
Ionic Security Machina Client SDK for Python users
Public Member Functions | List of all members
ionicsdk.cryptocipher.AesCtrCipher Class Reference

Cipher class that implements AES CTR. More...

Inheritance diagram for ionicsdk.cryptocipher.AesCtrCipher:
ionicsdk.cryptocipher.CryptoCipherBase

Public Member Functions

def __init__ (self, keydata)
 
- Public Member Functions inherited from ionicsdk.cryptocipher.CryptoCipherBase
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...
 

Detailed Description

Cipher class that implements AES CTR.

Constructor & Destructor Documentation

◆ __init__()

def ionicsdk.cryptocipher.AesCtrCipher.__init__ (   self,
  keydata 
)

Constructs a cipher with key data.

Parameters
keydata(bytes): The key to use for encryption or decryption.

The documentation for this class was generated from the following file: