Skip to main content

AES(Advanced Encryption Standard) in Python

Project description

AES; Advanced Encryption Standard

Implementation of Advanced Encryption Standard (AES) Block Cipher [pdf]

from aes import aes

mk = 0x000102030405060708090a0b0c0d0e0f

cipher = aes(mk)
cipher.encrypt(0x00112233445566778899aabbccddeeff)

[105, 196, 224, 216, 106, 123, 4, 48, 216, 205, 183, 128, 112, 180, 197, 90]

cipher.decrypt([105, 196, 224, 216, 106, 123, 4, 48, 216, 205, 183, 128, 112, 180, 197, 90], byte=True)

88962710306127702866241727433142015

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

aes-1.0.1-py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 3

Supported by

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