Ciphers.

class sage.crypto.cipher.Cipher(parent, key)

Cipher class

__eq__(right)
__init__(parent, key)

Create a cipher.

INPUT: Parent and key

EXAMPLES: None yet

__repr__()
__weakref__
list of weak references to the object (if defined)
codomain()
domain()
key()
parent()
class sage.crypto.cipher.PublicKeyCipher(parent, key, public=True)

Public key cipher class

__init__(parent, key, public=True)

Create a public key cipher

INPUT: Parent and key

EXAMPLES: None yet

class sage.crypto.cipher.SymmetricKeyCipher(parent, key)

Symmetric key cipher class

__init__(parent, key)

Create a symmetric cipher

INPUT: Parent and key

EXAMPLES: None yet

Previous topic

Cryptosystems.

Next topic

Classical Cryptosystems

This Page