/usr/lib/python3/dist-packages/cryptography/hazmat/backends/__pycache__
Edit: /usr/lib/python3/dist-packages/cryptography/hazmat/backends/__pycache__/interfaces.cpython-310.pyc (15493B)
o
)%a( @ s d dl Z G dd de jdZG dd de jdZG dd de jdZG d d
d
e jdZG dd de jdZG d
d de jdZG dd de jdZG dd de jdZ G dd de jdZ
G dd de jdZG dd de jdZG dd de jdZ
G dd de jdZdS ) Nc @ 6 e Zd Zejdd Zejdd Zejdd ZdS )
CipherBackendc C dS )zI
Return True if the given cipher and mode are supported.
N selfciphermoder r I/usr/lib/python3/dist-packages/cryptography/hazmat/backends/interfaces.pycipher_supported
zCipherBackend.cipher_supportedc C r )zF
Get a CipherContext that can be used for encryption.
Nr r r r r
create_symmetric_encryption_ctx r z-CipherBackend.create_symmetric_encryption_ctxc C r )zF
Get a CipherContext that can be used for decryption.
Nr r r r r
create_symmetric_decryption_ctx r z-CipherBackend.create_symmetric_decryption_ctxN)__name__
__module____qualname__abcabstractmethodr r
r r r r r
r s
r ) metaclassc @ ( e Zd Zejdd Zejdd ZdS )HashBackendc C r )zQ
Return True if the hash algorithm is supported by this backend.
Nr r algorithmr r r
hash_supported r zHashBackend.hash_supportedc C r )zH
Create a HashContext for calculating a message digest.
Nr r r r r
create_hash_ctx$ r zHashBackend.create_hash_ctxN)r r r r r r r r r r r
r
r c @ r )HMACBackendc C r )zb
Return True if the hash algorithm is supported for HMAC by this
backend.
Nr r r r r
hmac_supported, r zHMACBackend.hmac_supportedc C r zQ
Create a context for calculating a message authentication code.
Nr )r keyr r r r
create_hmac_ctx3 r zHMACBackend.create_hmac_ctxN)r r r r r r r r r r r
r +
r c @ r )CMACBackendc C r )zX
Returns True if the block cipher is supported for CMAC by this backend
Nr r r r r
cmac_algorithm_supported; r z$CMACBackend.cmac_algorithm_supportedc C r r r r r r r
create_cmac_ctxA r zCMACBackend.create_cmac_ctxN)r r r r r r# r$ r r r r
r" : r r" c @ r )PBKDF2HMACBackendc C r )zd
Return True if the hash algorithm is supported for PBKDF2 by this
backend.
Nr r r r r
pbkdf2_hmac_supportedI r z'PBKDF2HMACBackend.pbkdf2_hmac_supportedc C r )zN
Return length bytes derived from provided PBKDF2 parameters.
Nr )r r lengthsalt
iterationskey_materialr r r
derive_pbkdf2_hmacP r z$PBKDF2HMACBackend.derive_pbkdf2_hmacN)r r r r r r&