crypto.sha256 #

Constants #

const (
	size       = 32
	size224    = 28
	block_size = 64
)

fn hexhash #

fn hexhash(s string) string

fn hexhash_224 #

fn hexhash_224(s string) string

fn new #

fn new() &Digest

new returns a new Digest (implementing hash.Hash) computing the SHA256 checksum.

fn new224 #

fn new224() &Digest

new224 returns a new Digest (implementing hash.Hash) computing the SHA224 checksum.

fn sum #

fn sum(data []byte) []byte

sum256 returns the SHA256 checksum of the data.

fn sum224 #

fn sum224(data []byte) []byte

sum224 returns the SHA224 checksum of the data.

fn sum256 #

fn sum256(data []byte) []byte

sum256 returns the SHA256 checksum of the data.

fn (Digest) size #

fn (d &Digest) size() int

fn (Digest) block_size #

fn (d &Digest) block_size() int