Skip to main content

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

brseclabcripto-2.0.2-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

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

Hashes for brseclabcripto-2.0.2.tar.gz
Algorithm Hash digest
SHA256 5965393f66c20663ef40eb98a2b9dbfc358c980e6b540f54c380b465fcbe0278
MD5 9cc06847a94c000e594efad9ad31b492
BLAKE2b-256 33ff1dd76524cd0aad0f6dd3a185c5e3f0ab40005418c577699d793bd39929d6

See more details on using hashes here.

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

Hashes for brseclabcripto-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a32a3d712ca8c48e43f1b6a76892570fc375000309bfe01ac47c26eae01ece13
MD5 1f935859e54d7d32d531a41cb1d0610b
BLAKE2b-256 1f93d9c24f85dc518f9af26f536674ce8b1d561b7660f87c08bb6ed7c6aed637

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page