Crypto Constants

Module Attributes

CRYPTOLIB

Name of the crypto library being used.

CRYPTOLIB_VER

The version string of the crypto library in use

CRYPTOLIB_HAS_GCM

Crypto library can do AES in GCM mode

tinytuya.CRYPTOLIB

Name of the crypto library being used.

Current possible values: pyca/cryptography, PyCrypto[dome[x]], or pyaes

Type:

str

tinytuya.CRYPTOLIB_VER

The version string of the crypto library in use

Type:

str

tinytuya.CRYPTOLIB_HAS_GCM

Crypto library can do AES in GCM mode

Type:

bool

Classes

AESCipher(key)

Wrapper for the imported crypto library