Biblioteca de criptografia para o projeto brSecLab
Project description
Pacote Poetry brseclabcripto
Instalação
pip install brseclabcripto
Uso
Importar biblioteca
from brseclabcripto import cripto2
Gerar chave
key = cripto2.generate_aes_key()
Criptografar string
ciphertext = cripto2.aes_gcm_encrypt(key,"TEXTO")
Decriptar
decriptado = cripto2.aes_gcm_decrypt(key,ciphertext)
Gerar hash com argon2id
hash_argon = hash_argon2id(key,password)
Verificar hash argon2id
hash_argon2id_verify(hash_argon, key,password)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
brseclabcripto-2.0.2.tar.gz
(2.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file brseclabcripto-2.0.2.tar.gz.
File metadata
- Download URL: brseclabcripto-2.0.2.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.12.3 Linux/6.8.0-57-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5965393f66c20663ef40eb98a2b9dbfc358c980e6b540f54c380b465fcbe0278
|
|
| MD5 |
9cc06847a94c000e594efad9ad31b492
|
|
| BLAKE2b-256 |
33ff1dd76524cd0aad0f6dd3a185c5e3f0ab40005418c577699d793bd39929d6
|
File details
Details for the file brseclabcripto-2.0.2-py3-none-any.whl.
File metadata
- Download URL: brseclabcripto-2.0.2-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.12.3 Linux/6.8.0-57-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a32a3d712ca8c48e43f1b6a76892570fc375000309bfe01ac47c26eae01ece13
|
|
| MD5 |
1f935859e54d7d32d531a41cb1d0610b
|
|
| BLAKE2b-256 |
1f93d9c24f85dc518f9af26f536674ce8b1d561b7660f87c08bb6ed7c6aed637
|