From eeef08a43af6a56656f33449e693d1a4d3fdec56 Mon Sep 17 00:00:00 2001 From: Scott Sadler Date: Tue, 3 Jan 2017 17:04:43 +0100 Subject: [PATCH] mention version of pysha3 and link to pypi page instead --- docs/server/source/appendices/cryptography.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/server/source/appendices/cryptography.md b/docs/server/source/appendices/cryptography.md index 90156644..776ff3ff 100644 --- a/docs/server/source/appendices/cryptography.md +++ b/docs/server/source/appendices/cryptography.md @@ -9,13 +9,13 @@ as described in [the section on JSON serialization](json-serialization.html). ## Hashes 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 [**pysha3** package](https://bitbucket.org/tiran/pykeccak), which is a wrapper around the optimized reference implementation 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: