]> Cypherpunks repositories - gostls13.git/commit
crypto/sha512: provide top-level Sum512 and Sum384 functions
authorRob Pike <r@golang.org>
Wed, 26 Jun 2013 20:14:11 +0000 (13:14 -0700)
committerRob Pike <r@golang.org>
Wed, 26 Jun 2013 20:14:11 +0000 (13:14 -0700)
commitfa7e46c88481b06420191460e47d9c9c512a1f94
treefff46ad865eda1fc037677f13021964ec3159d75
parent5cd5d88954a20c2f4792b6010f3ab7b82355e84b
crypto/sha512: provide top-level Sum512 and Sum384 functions
Makes it easy to ask the simple question, what is the hash of this data?
Also fix the commentary and prints in Sum256.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/10630043
src/pkg/crypto/sha256/sha256.go
src/pkg/crypto/sha256/sha256_test.go
src/pkg/crypto/sha512/sha512.go
src/pkg/crypto/sha512/sha512_test.go