const (
size = 64
size224 = 28
size256 = 32
size384 = 48
block_size = 128
)
fn hexhash(s string) string
hexhash returns a hexadecimal SHA512 hash sum string
of s
.
fn hexhash_384(s string) string
hexhash_384 returns a hexadecimal SHA384 hash sum string
of s
.
fn hexhash_512_224(s string) string
hexhash_512_224 returns a hexadecimal SHA512/224 hash sum string
of s
.
fn hexhash_512_256(s string) string
hexhash_512_256 returns a hexadecimal 512/256 hash sum string
of s
.
fn new() &Digest
new returns a new Digest (implementing hash.Hash) computing the SHA-512 checksum.
fn sum384(data []byte) []byte
sum384 returns the SHA384 checksum of the data.
fn sum512(data []byte) []byte
sum512 returns the SHA512 checksum of the data.
fn sum512_224(data []byte) []byte
sum512_224 returns the Sum512/224 checksum of the data.
fn sum512_256(data []byte) []byte
sum512_256 returns the Sum512/256 checksum of the data.
fn (d &Digest) size() int
size returns the size of the checksum in bytes.
fn (d &Digest) block_size() int
block_size returns the block size of the checksum in bytes.