rapida lib para criptografia by eos175
PyCrypto usa pycryptodome para AES y fastecdsa para ECC. Estos paquetes estan escrito en C
y tiene hw acceleration
python3 -m venv .venv
. .venv/bin/activate
pip install git+ssh://git@github.com/eos175/pycrypto.git
AES
def cfb128_encrypt(data: bytes, key: bytes, iv: bytes) -> bytes: ...
def cfb128_decrypt(data: bytes, key: bytes, iv: bytes) -> bytes: ...
def gcm_encrypt(data: bytes, key: bytes, nonce: bytes) -> bytes:
def gcm_decrypt(data: bytes, key: bytes, nonce: bytes, tag: bytes) -> bytes or None: ...
def ccm_encrypt(data: bytes, key: bytes, nonce: bytes) -> bytes: ...
def ccm_decrypt(data: bytes, key: bytes, nonce: bytes, tag: bytes) -> bytes or None: ...
- agregar el resto de la API al readme
- crear setup