hash

package
v0.0.0-...-299d4c7 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HmacMD5

func HmacMD5(k, bs []byte) (hs []byte, err error)

HmacMD5 hmac md5 hash

func HmacSHA1

func HmacSHA1(k, bs []byte) (hs []byte, err error)

HmacSHA1 hmac sha1 hash

func HmacSHA256

func HmacSHA256(k, bs []byte) (hs []byte, err error)

HmacSHA256 hmac sha256 hash

func HmacSHA512

func HmacSHA512(k, bs []byte) (hs []byte, err error)

HmacSHA512 hmac sha256 hash

func MD5

func MD5(bs []byte) (hs []byte, err error)

func SHA1

func SHA1(bs []byte) (hs []byte, err error)

SHA1 sha1 hash

func SHA256

func SHA256(bs []byte) (hs []byte, err error)

SHA256 sha256 hash

func SHA512

func SHA512(bs []byte) (hs []byte, err error)

SHA512 sha512 hash

Types

This section is empty.

Jump to

Keyboard shortcuts

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