mention version of pysha3 and link to pypi page instead

This commit is contained in:
Scott Sadler 2017-01-03 17:04:43 +01:00
parent c31feaf83d
commit eeef08a43a

View File

@ -9,13 +9,13 @@ as described in [the section on JSON serialization](json-serialization.html).
## Hashes ## Hashes
BigchainDB computes transaction and block hashes using an implementation of the BigchainDB computes transaction and block hashes using an implementation of the
[SHA3-256](https://en.wikipedia.org/wiki/SHA-3) [SHA3-256](https://pypi.python.org/pypi/pysha3)
algorithm provided by the algorithm provided by the
[**pysha3** package](https://bitbucket.org/tiran/pykeccak), [**pysha3** package](https://bitbucket.org/tiran/pykeccak),
which is a wrapper around the optimized reference implementation which is a wrapper around the optimized reference implementation
from [http://keccak.noekeon.org](http://keccak.noekeon.org). from [http://keccak.noekeon.org](http://keccak.noekeon.org).
**Important**: Since selecting the Keccak hashing algorithm for SHA-3 in 2012, NIST [released a new version](https://en.wikipedia.org/wiki/SHA-3#cite_note-14) of the hash using the same algorithm but slightly different parameters. As of version 0.9, BigchainDB is using the latest version. See below for an example output of the hash function. **Important**: Since selecting the Keccak hashing algorithm for SHA-3 in 2012, NIST [released a new version](https://en.wikipedia.org/wiki/SHA-3#cite_note-14) of the hash using the same algorithm but slightly different parameters. As of version 0.9, BigchainDB is using the latest version, supported by pysha3 1.0b1. See below for an example output of the hash function.
Here's the relevant code from `bigchaindb/bigchaindb/common/crypto.py: Here's the relevant code from `bigchaindb/bigchaindb/common/crypto.py: