Ciphers

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

Bases: sage.structure.element.Element

Cipher class

codomain()

x.__init__(...) initializes x; see help(type(x)) for signature

domain()

x.__init__(...) initializes x; see help(type(x)) for signature

key()

x.__init__(...) initializes x; see help(type(x)) for signature

class sage.crypto.cipher.PublicKeyCipher(parent, key, public=True)

Bases: sage.crypto.cipher.Cipher

Public key cipher class

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

Bases: sage.crypto.cipher.Cipher

Symmetric key cipher class

Previous topic

Cryptosystems

Next topic

Classical Cryptosystems

This Page