hash

package
v0.0.0-...-b124b1e Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

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(seed, key []byte) []byte

func HashUsingRipemd160

func HashUsingRipemd160(data []byte) []byte

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

func HashUsingSM3

func HashUsingSM3(data []byte) []byte

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