hash

package
v0.0.0-...-ea90456 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 5 Imported by: 25

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoubleSha256

func DoubleSha256(data []byte) []byte

执行2次SHA256,这是为了防止SHA256算法被攻破。

func HashUsingDefaultMiMC

func HashUsingDefaultMiMC(data []byte) []byte

func HashUsingHmac512

func HashUsingHmac512(data, key []byte) []byte

func HashUsingRipemd160

func HashUsingRipemd160(data []byte) []byte

Ripemd160,这种hash算法可以缩短长度

func HashUsingSha256

func HashUsingSha256(data []byte) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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