crypto

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SM2 = new(mySm2)
View Source
var SM4 = new(mySm4)

Functions

This section is empty.

Types

type AesCrypto

type AesCrypto struct{}

func (*AesCrypto) DePwdCode

func (aesCrypto *AesCrypto) DePwdCode(pwd string) ([]byte, error)

DePwdCode *

  • @Description: 解密
  • @param pwd
  • @return []byte
  • @return error

func (*AesCrypto) EnPwdCode

func (aesCrypto *AesCrypto) EnPwdCode(pwd []byte) (string, error)

EnPwdCode *

  • @Description: 加密base64
  • @param pwd
  • @return string
  • @return error

Jump to

Keyboard shortcuts

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