package
0.0.0-20241104015319-85e10345cc4a
Repository: https://github.com/qida/gohp.git
Documentation: pkg.go.dev

# README

Crypto

一些常用的加密解密功能

安装

go get github.com/williambao/gocrypto

文档

太过简单, 请直接看代码吧.

包含

  • MD5加密
  • Base64加密/解密
  • 生成40位随机数(GetRandomKey)
  • AES加密/解密

# Functions

No description provided by the author
No description provided by the author
AES解密.
No description provided by the author
No description provided by the author
AES加密.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RandomDigits returns a byte slice of the given length containing pseudorandom numbers in range 0-9.