Ticket #2550: utf8-sbox.patch

File utf8-sbox.patch, 947 bytes (added by malb, 5 years ago)
  • sage/crypto/mq/sbox.py

    # HG changeset patch
    # User Martin Albrecht <malb@informatik.uni-bremen.de>
    # Date 1205691590 0
    # Node ID cfe75d5a35759abf4c4e8f5f4edef1a9d9e235e6
    # Parent  14c898accff50baad71d53fb0cd5cec3b520e3d0
    trivial docstring change
    
    diff -r 14c898accff5 -r cfe75d5a3575 sage/crypto/mq/sbox.py
    a b A substitution box or S-box is one of th 
    44A substitution box or S-box is one of the basic components of 
    55symmetric key cryptography. In general, an S-box takes $m$ input bits 
    66and transforms them into some $n$ output bits. This is then called an 
    7 $m×n$ S-box and is often implemented as a lookup table. These S-boxes 
     7$mxn$ S-box and is often implemented as a lookup table. These S-boxes 
    88are carefully chosen to resist linear and differential cryptanalysis. 
    99 
    1010This module implements an S-box class which allows an algebraic