aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamil Staps2015-04-29 16:11:44 +0200
committerCamil Staps2015-04-29 16:11:44 +0200
commit44edab647afa3856058881a67c512985fa4fac8a (patch)
tree6f1f860a9da3f264b2acb03c4c344bb94ac3eaa6
parentpython3 works as well now (diff)
1.2 python3 support
-rw-r--r--README.md7
-rw-r--r--pypride.py6
2 files changed, 8 insertions, 5 deletions
diff --git a/README.md b/README.md
index fa59c4a..802312d 100644
--- a/README.md
+++ b/README.md
@@ -1,12 +1,15 @@
# pypride
-Python implementation of the PRIDE cipher
+Python 2 & 3 implementation of the PRIDE cipher
This software is copyright protected. For now, all rights are reserved.
## Changelog
+### 1.2, 29/4/2015
+Python3 support
+
### 1.1, 25/4/2015
Faster matrix multiplication using bit manipulation
### 1.0, 23/4/2015
-First working version \ No newline at end of file
+First working version
diff --git a/pypride.py b/pypride.py
index 9655d44..54a0ebf 100644
--- a/pypride.py
+++ b/pypride.py
@@ -2,8 +2,8 @@
# =============================================================================
# Python PRIDE implementation
-# Version: 1.1
-# Date: 25/04/2015
+# Version: 1.2
+# Date: 29/04/2015
#
# =============================================================================
#
@@ -279,4 +279,4 @@ def number2string_N(i, N):
return binascii.unhexlify(s)
def string_bytes(s):
- return [ord(c) for c in s] if sys.version_info.major == 2 else s \ No newline at end of file
+ return [ord(c) for c in s] if sys.version_info.major == 2 else s