def des.s4

bend-osdev-legacy-ciphers@0.1.0.0 · des.bend:86

import bend-osdev-legacy-ciphers@0.1.0.0/des.bend as Des
import Base

86# S4: row r (0 to 3), column c (0 to 15) is entry 16r + c
87def des.s4() -> List<&2, U32>:
88  [7, 13, 14, 3, 0, 6, 9, 10, 1, 2, 8, 5, 11, 12, 4, 15,
89    13, 8, 11, 5, 6, 15, 0, 3, 4, 7, 2, 12, 1, 10, 14, 9,
90    10, 6, 9, 0, 12, 11, 7, 13, 15, 1, 3, 14, 5, 2, 8, 4,
91    3, 15, 0, 6, 10, 1, 13, 8, 9, 4, 5, 11, 12, 7, 2, 14]

Uses (2)

Used by (1)