summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorThorsten Behrens <sbehrens@gmx.li>2011-01-04 15:33:15 -0500
committerThorsten Behrens <sbehrens@gmx.li>2011-01-04 15:33:15 -0500
commitff0e5ad4093ccbb3f1935dd7753515c42c0484e5 (patch)
tree0398b7f4ce61fef7e0e3cfd0e578d2989d717a69 /Doc
parent3cffb31305feb78a3cf241132ff1304846f074fd (diff)
downloadpycrypto-ff0e5ad4093ccbb3f1935dd7753515c42c0484e5.tar.gz
Additional random unit tests; fix a random unit test
Patch as per Lorenz on the mailing list.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/pycrypt.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/pycrypt.rst b/Doc/pycrypt.rst
index 660d29b..20b7c7f 100644
--- a/Doc/pycrypt.rst
+++ b/Doc/pycrypt.rst
@@ -188,7 +188,7 @@ Here's an example, using the SHA-256 algorithm::
>>> m = SHA256.new()
>>> m.update('abc')
>>> m.digest()
- ''\xbax\x16\xbf\x8f\x01\xcf\xeaAA@\xde]\xae"#\xb0\x03a\xa3\x96\x17z\x9c\xb4\x10\xffa\xf2\x00\x15\xad'
+ '\xbax\x16\xbf\x8f\x01\xcf\xeaAA@\xde]\xae"#\xb0\x03a\xa3\x96\x17z\x9c\xb4\x10\xffa\xf2\x00\x15\xad'
>>> m.hexdigest()
'ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad'