We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47efb07 commit 37a1b32Copy full SHA for 37a1b32
README.md
@@ -1,14 +1,28 @@
1
-# python-whirlpool
+python-whirlpool
2
+================
3
4
This is just a wrapper to the Whirlpool C reference implementation.
5
The Whirlpool reference implementations are public domain, as is this code.
6
7
Wrapper written by James Cleveland with help from #python on irc.freenode.net.
8
-USAGE:
9
+Wrapper modified by Olaf Conradi to use the hashlib interface.
10
+
11
+Usage
12
+-----
13
14
import whirlpool
15
- hashed_string = whirlpool.hash("Mystring")
16
+ wp = whirlpool.new("My String")
17
+ hashed_string = wp.hexdigest()
18
19
+ wp.update("My Salt")
20
21
22
+Deprecated usage
23
+----------------
24
25
+ import whirlpool
26
27
+ hashed_string = whirlpool.hash("My String")
28
0 commit comments