secure

package
v2.0.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package secure the tool include hash algorithm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hash

func Hash(h func() hash.Hash, data []byte) []byte

func HashHmac

func HashHmac(h func() hash.Hash, data, key []byte) []byte

func HashHmacString

func HashHmacString(data, key string, algos ...string) string

HashHmacString simplified mach hash string generation for fast digest generation, support sha224, sha256, sha384, sha512, md5

func HashString

func HashString(data string, algos ...string) string

HashString simplified hash string generation for fast digest generation, support sha224, sha256, sha384, sha512, md5

Types

This section is empty.

Directories

Path Synopsis
Package aesutil provides aes encryption and decryption.
Package aesutil provides aes encryption and decryption.

Jump to

Keyboard shortcuts

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