sha2

package
v0.0.0-...-348faf2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const Size256 = 32

Variables

This section is empty.

Functions

func Sha2_256

func Sha2_256(data []byte) [Size256]byte

Types

type Hash256

type Hash256 [8]uint32

func FromString

func FromString(s string) (Hash256, error)

func (*Hash256) Add512

func (x *Hash256) Add512(data []byte)

func (*Hash256) Bytes

func (h *Hash256) Bytes() [Size256]byte

func (*Hash256) Copy

func (h *Hash256) Copy(dst []byte)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL