cryptol/examples/maliciousSHA
Brian Huffman 7e34c25e4d Switch to infix syntax for blocks and padding operators.
"x /^ y" is x/y rounded up, i.e. the least n such that x <= y*n.
"x %^ y" is the least k such that x+k is a multiple of y.

For comparison,
"x / y" is x/y rounded down, i.e. the greatest n such that x >= y*n.
"x % y" is the least k such that x-k is a multiple of y.

The new syntax is much more suggestive of the relation to "/" and "%".
2017-09-28 10:26:31 -07:00
..
eve1.sh added malicious sha example 2014-08-05 14:08:30 -07:00
eve2.sh added malicious sha example 2014-08-05 14:08:30 -07:00
malicious_SHA1.cry Switch to infix syntax for blocks and padding operators. 2017-09-28 10:26:31 -07:00