Contents Menu Expand Light mode Dark mode Auto light/dark mode
Cryptography
Light Logo Dark Logo
Sage 9.8.beta2 Reference Manual
  • Home - Cryptography
  • Cryptosystems
  • Ciphers
  • Classical Cryptosystems
  • Classical Ciphers
  • Simplified DES
  • Mini-AES
  • DES
  • PRESENT
  • Blum-Goldwasser Probabilistic Encryption
  • Stream Cryptosystems
  • Stream Ciphers
  • Linear feedback shift register (LFSR) sequence commands
  • Utility Functions for Cryptography
  • Boolean functions
  • S-Boxes and Their Algebraic Representations
  • S-Boxes used in cryptographic schemes
  • Abstract base class for generators of polynomial systems
  • Small Scale Variants of the AES (SR) Polynomial System Generator
  • Rijndael-GF
  • Hard Lattice Generator
  • (Ring-)LWE oracle generators
Back to top

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

Next
Classical Cryptosystems
Previous
Cryptosystems
Copyright © 2005--2022, The Sage Development Team
Made with Sphinx and @pradyunsg's Furo
Contents
  • Ciphers
    • Cipher
      • Cipher.codomain()
      • Cipher.domain()
      • Cipher.key()
    • PublicKeyCipher
    • SymmetricKeyCipher