Package sha512 implements the SHA-384, SHA-512, SHA-512/224, and SHA-512/256 hash algorithms as defined in FIPS 180-4.
All the hash.Hash implementations returned by this package also implement encoding.BinaryMarshaler and encoding.BinaryUnmarshaler to marshal and unmarshal the internal state of the hash.
Index ¶const ( // Size is the size, in bytes, of a SHA-512 checksum. Size = 64 // Size224 is the size, in bytes, of a SHA-512/224 checksum. Size224 = 28 // Size256 is the size, in bytes, of a SHA-512/256 checksum. Size256 = 32 // Size384 is the size, in bytes, of a SHA-384 checksum. Size384 = 48 // BlockSize is the block size, in bytes, of the SHA-512/224, // SHA-512/256, SHA-384 and SHA-512 hash functions. BlockSize = 128 )Variables ¶
This section is empty.
Functions ¶ func Sum384 ¶ added in go1.2Sum384 returns the SHA384 checksum of the data.
func Sum512 ¶ added in go1.2Sum512 returns the SHA512 checksum of the data.
func Sum512_224 ¶ added in go1.5Sum512_224 returns the Sum512/224 checksum of the data.
func Sum512_256 ¶ added in go1.5Sum512_256 returns the Sum512/256 checksum of the data.
Types ¶This section is empty.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4