Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Manage cipher text into a schema.

The schema used is:

``separator, the cipher identifier, separator, the mode identifier,
separator, the IV parameter, separator, the ciphertext``

For the identifiers it is used a number in range 0-255, which will be
converted to hexadecimal.

src/c/r/cryha-1.0/test/test_cryha.py   cryha(Download)
class TestCrypter:
   schema = common.Schema()
   crypter1 = cryha.Crypter(dir_keyfile='test_crypter1')
   crypter2 = cryha.Crypter(cipher='serpent', mode='cbc', key_size=32,
                            dir_keyfile='test_crypter2')