package sha512
Import Path
crypto/sha512 (on golang.org and go.dev)
Dependency Relation
imports 6 packages, and imported by 4 packages
Involved Source Files
d-> sha512.go
sha512block.go
sha512block_amd64.go
sha512block_amd64.s
Exported Type Names
(none)
Exported Values
const
BlockSize = 128
BlockSize is the block size, in bytes, of the SHA-512/224,
SHA-512/256, SHA-384 and SHA-512 hash functions.
func
New()
hash.
Hash
New returns a new hash.Hash computing the SHA-512 checksum.
func
New384()
hash.
Hash
New384 returns a new hash.Hash computing the SHA-384 checksum.
func
New512_224()
hash.
Hash
New512_224 returns a new hash.Hash computing the SHA-512/224 checksum.
func
New512_256()
hash.
Hash
New512_256 returns a new hash.Hash computing the SHA-512/256 checksum.
const
Size = 64
Size is the size, in bytes, of a SHA-512 checksum.
const
Size224 = 28
Size224 is the size, in bytes, of a SHA-512/224 checksum.
const
Size256 = 32
Size256 is the size, in bytes, of a SHA-512/256 checksum.
const
Size384 = 48
Size384 is the size, in bytes, of a SHA-384 checksum.
func
Sum384(data []
byte) (sum384 [48]
byte)
Sum384 returns the SHA384 checksum of the data.
func
Sum512(data []
byte) [64]
byte
Sum512 returns the SHA512 checksum of the data.
func
Sum512_224(data []
byte) (sum224 [28]
byte)
Sum512_224 returns the Sum512/224 checksum of the data.
func
Sum512_256(data []
byte) (sum256 [32]
byte)
Sum512_256 returns the Sum512/256 checksum of the data.
 |
The pages are generated with Golds v0.1.6. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project and developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |