algorithm

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Aes128Decrypt

func Aes128Decrypt(decodeStr string, key string) (string, error)

func Aes128Encrypt

func Aes128Encrypt(encodeStr string, key string) (string, error)

func Base64Decode

func Base64Decode(s string) string

func Base64Encode

func Base64Encode(s string) string

func Base64UrlDecode

func Base64UrlDecode(s string) string

func Base64UrlEncode

func Base64UrlEncode(s string) string

func HashSha1

func HashSha1(s string, key string, raw bool) string

func Md5

func Md5(s string) string

func Rand

func Rand(n int) int

func Sha1

func Sha1(s string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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