hmac

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MD5

func MD5(key cryptox.Bytes, bs cryptox.Bytes) (cryptox.Bytes, error)

MD5 uses hmac-md5 to hash bs and returns an error if failed.

func SHA1

func SHA1(key cryptox.Bytes, bs cryptox.Bytes) (cryptox.Bytes, error)

SHA1 uses hmac-sha1 to hash bs and returns an error if failed.

func SHA224

func SHA224(key cryptox.Bytes, bs cryptox.Bytes) (cryptox.Bytes, error)

SHA224 uses hmac-sha224 to hash bs and returns an error if failed.

func SHA256

func SHA256(key cryptox.Bytes, bs cryptox.Bytes) (cryptox.Bytes, error)

SHA256 uses hmac-sha256 to hash bs and returns an error if failed.

func SHA384

func SHA384(key cryptox.Bytes, bs cryptox.Bytes) (cryptox.Bytes, error)

SHA384 uses hmac-sha384 to hash bs and returns an error if failed.

func SHA512

func SHA512(key cryptox.Bytes, bs cryptox.Bytes) (cryptox.Bytes, error)

SHA512 uses hmac-sha512 to hash bs and returns an error if failed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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