Ciphers#

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

Bases: Element

Cipher class

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

Bases: Cipher

Public key cipher class

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

Bases: Cipher

Symmetric key cipher class