]> Cypherpunks repositories - gostls13.git/commit
hash: document that the encoded state may contain input in plaintext
authorJoe Tsai <joetsai@digital-static.net>
Mon, 13 Nov 2017 21:48:49 +0000 (13:48 -0800)
committerJoe Tsai <thebrokentoaster@gmail.com>
Mon, 13 Nov 2017 22:14:58 +0000 (22:14 +0000)
commit4aea3e7135a1945dc183e3c0d9180cbed2ed6ba7
tree14f975914353bb028ad9272f60278490e8293013
parent032678e0fb0a5e0471a6555b758ca4d960249013
hash: document that the encoded state may contain input in plaintext

The cryptographic checksums operate in blocks of 64 or 128 bytes,
which means that the last 128 bytes or so of the input may be encoded
in its original (plaintext) form as part of the state.
Document this so users do not falsely assume that the encoded state
carries no reversible information about the input.

Change-Id: I823dbb87867bf0a77aa20f6ed7a615dbedab3715
Reviewed-on: https://go-review.googlesource.com/77372
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/hash/hash.go