Module crypto.sha512 stdlib

crypto.sha512
Version:
0.3.3
License:
MIT
Dependencies from vmod:
0
Imports:
3
Imported by:
1
Repository:
OS-specific
Show selected OS-specific symbols.
Backend-specific
Show selected Backend-specific symbols.

Dependencies defined in v.mod

This section is empty.

Imports

Imported by

Aliases

This section is empty.

Constants

#constant size

size       = 64

#constant size224

size224    = 28

#constant size256

size256    = 32

#constant size384

size384    = 48

#constant block_size

block_size = 128

Sum types

This section is empty.

Functions

#fn hexhash

fn hexhash(s string) string

hexhash returns a hexadecimal SHA512 hash sum string of s.

#fn hexhash_384

fn hexhash_384(s string) string

hexhash_384 returns a hexadecimal SHA384 hash sum string of s.

#fn hexhash_512_224

fn hexhash_512_224(s string) string

hexhash_512_224 returns a hexadecimal SHA512/224 hash sum string of s.

#fn hexhash_512_256

fn hexhash_512_256(s string) string

hexhash_512_256 returns a hexadecimal 512/256 hash sum string of s.

#fn new

fn new() &Digest

new returns a new Digest (implementing hash.Hash) computing the SHA-512 checksum.

#fn sum384

fn sum384(data []u8) []u8

sum384 returns the SHA384 checksum of the data.

#fn sum512

fn sum512(data []u8) []u8

sum512 returns the SHA512 checksum of the data.

#fn sum512_224

fn sum512_224(data []u8) []u8

sum512_224 returns the Sum512/224 checksum of the data.

#fn sum512_256

fn sum512_256(data []u8) []u8

sum512_256 returns the Sum512/256 checksum of the data.

Structs

This section is empty.

Interfaces

This section is empty.

Enums

This section is empty.