diff options
author | Jan Huwald <jh@sotun.de> | 2013-06-26 13:23:07 (GMT) |
---|---|---|
committer | Jan Huwald <jh@sotun.de> | 2013-06-26 13:23:07 (GMT) |
commit | ac11c3b784234d93cc10ca931a178bf50ee26faf (patch) | |
tree | 4b8bc9fc15a92a8828ea3abeb79d711a75eb4070 /keccak.py |
Throughput: 330 MB/s on one multiprocessor of a GTX680
Diffstat (limited to 'keccak.py')
-rwxr-xr-x | keccak.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/keccak.py b/keccak.py new file mode 100755 index 0000000..f55e8b7 --- /dev/null +++ b/keccak.py @@ -0,0 +1,8 @@ +#!/usr/bin/python + +a={} +for x in range(5): + for y in range(5): + a[(y*5)+((2*x+3*y)%5)] = x*5+y +for k in range(25): + print a[k] |