17.2 Ciphers

Module: sage.crypto.cipher

Ciphers.

Class: Cipher

class Cipher
Cipher class
Cipher( self, parent, key)

Create a cipher.

Input: parent and key

None yet

Functions: codomain,$ \,$ domain,$ \,$ key,$ \,$ parent

Special Functions: __eq__,$ \,$ __init__,$ \,$ __repr__

Class: PublicKeyCipher

class PublicKeyCipher
Public key cipher class
PublicKeyCipher( self, parent, key, [public=True])

Create a public key cipher

Input: parent and key

None yet

Special Functions: __init__

Class: SymmetricKeyCipher

class SymmetricKeyCipher
Symmetric key cipher class
SymmetricKeyCipher( self, parent, key)

Create a symmetric cipher

Input: parent and key

None yet

Special Functions: __init__

See About this document... for information on suggesting changes.