cryptoo

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MD5

func MD5(s string) string

MD5 Generate 32-bit MD5 strings

func RandString

func RandString(n int) string

func RandToken

func RandToken() string

func SHA1

func SHA1(s string) string

Types

type ConnAes

type ConnAes struct {
	// contains filtered or unexported fields
}

func NewConnAes

func NewConnAes(key string, iv string) (ConnAes, error)

func (*ConnAes) Decrypt

func (ca *ConnAes) Decrypt(src []byte) ([]byte, error)

func (*ConnAes) Encrypt

func (ca *ConnAes) Encrypt(src []byte) []byte

Jump to

Keyboard shortcuts

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