summaryrefslogtreecommitdiff
path: root/keccak.py
diff options
context:
space:
mode:
Diffstat (limited to 'keccak.py')
-rwxr-xr-xkeccak.py8
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]
contact: Jan Huwald // Impressum