Ciphers

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

Bases: sage.structure.element.Element

Cipher class

codomain()
domain()
key()
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