Did I find the right examples for you? yes no

All Samples(3)  |  Call(0)  |  Derive(0)  |  Import(3)
AES Block Cipher.

Performs single block cipher decipher operations on a 16 element list of integers.
These integers represent 8 bit bytes in a 128 bit block.
The result of cipher or decipher operations is the transformed 16 element list of integers.

Running this file as __main__ will result in a self-test of the algorithm.

Algorithm per NIST FIPS-197 http://csrc.nist.gov/publications/fips/fips197/fips-197.pdf
(more...)

src/t/h/thug-HEAD/src/peepdf/aespython/ofb_mode.py   thug(Download)
    def test_mode(self):
        #Self test
        import key_expander
        import aes_cipher
        import test_keys

src/t/h/thug-HEAD/src/peepdf/aespython/cfb_mode.py   thug(Download)
    def test_mode(self):
        #Self test
        import key_expander
        import aes_cipher
        import test_keys

src/t/h/thug-HEAD/src/peepdf/aespython/cbc_mode.py   thug(Download)
    def test_mode(self):
        #Self test
        import key_expander
        import aes_cipher
        import test_keys