Catalog PyPI
PACKAGE EXPLORERView in registry

aes-gcm-txt-enc-lib

PyPI

Python library for symmetric key based secure text encryption and decryption using AES-GCM.

Versions collected1
Direct dependencies1From release 0.2.0
Last observed20 Oct, 20:50 UTC

README

Version 0.2.0 documentation

aes-gcm-txt-enc-lib

Python library for symmetric key based secure text encryption and decryption using AES-GCM.

Features

  • AES-GCM symmetric encryption for text data
  • Support for multiple key lengths (128, 192, 256 bits)
  • Easy-to-use API for encryption and decryption
  • Built on pycryptodome for cryptographic primitives

Installation

Install via PyPI:

pip install aes-gcm-txt-enc-lib

Usage Example

from aes_gcm_txt_enc_lib import AesGcmEncryptor

txt = "Hello this is text"
print("Original Text: ", txt)

# Create an encryptor with a 256-bit random key
a = AesGcmEncryptor(key_size=256)
cipher = a.encrypt(txt)
key = a.get_key()

print("Key: ", key)
print("Encrypted: ", cipher)

# Create a new encryptor with the same key for decryption
b = AesGcmEncryptor(key)
plain = b.decrypt(cipher)

print("Decrypted: ", plain)

📄 Changelog

See CHANGELOG.md for version history.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.2.028 May 20251

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:50 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:65bf0a6ab7350c9ee34d270638491dccb9b64affb9de2130c5bdac0899e1a1c6