crypto/sha512

Guided tour · Crypto · pkg.go.dev →

SHA-384 and SHA-512 hashes. Same API shape as crypto/sha256.

Usage

New, Sum512, Sum384

sum := sha512.Sum512([]byte("hello"))
fmt.Printf("%x\n", sum)