Skip to main content

Pycrypto based Simple And Easy AES Cipher

Dependencies

  • Python 2.7 or later

  • Pycrypto 2.6.1 or later

Install

$ pip install Simple-AES-Cipher

Usage

from simple_aes_cipher import AESCipher, generate_secret_key

pass_phrase = "hogefuga"
secret_key = generate_secret_key(pass_phrase)

# generate cipher
cipher = AESCipher(secret_key)

raw_text = "abcdefg"
encrypt_text = cipher.encrypt(raw_text)
assert raw_text != encrypt_text

decrypt_text = cipher.decrypt(encrypt_text)
assert encrypt_text != decrypt_text
assert decrypt_text == raw_text

LICENSE

  • MIT

Metadata

Release files for Simple-AES-Cipher 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Simple-AES-Cipher 1.0.6
File Size Uploaded
Simple-AES-Cipher-1.0.6.tar.gz 2.7 kB Details

Release files / Simple-AES-Cipher-1.0.6.tar.gz

Download URL Simple-AES-Cipher-1.0.6.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5775049a800f683d0594b0387991f7fb5fe8eaf7666dd1c5d71deba7394fde3f
BLAKE2b-256 checksum
How to use checksums
c014a056726ddc65556d19e31cae2603c8bb92b624c9858f4bde36604d0e8715
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

1.0.7

1 release file

This release

1.0.6 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page