All Classes and Interfaces
Class
Description
A database of email addresses and secret values
Types of secret keys.
Encodes arbitrary byte arrays as case-insensitive base-32 strings.
Utilities for byte process
new
AnimatedGifEncoder.java
Arithmetic.java 对称加密 一般用于小型 api key 配置文件里敏感信息等加密只用
咱不能用,只有同一个平台可以,开发时用的windows那生产环境也是window这样才保证加密和解密是保持一致
不然生成时window解密时linux就有问题,暂未解决
Name: MGL_Asserts
Package: tech.mgl.frame.common
Description: ${DESC}
Author: bbd12 www.mgl.tech
Email: hotpot@mgl.tech
Date: 2017/4/26
Version: V1.0
BCrypt implements OpenBSD-style Blowfish password hashing using
the scheme described in "A Future-Adaptable Password Scheme" by
Niels Provos and David Mazieres.
验证码工具类,生成验证码及验证码图片都在一起的工具类 not use yet
ClassName: VerifyCode
ImageGenerator.java
生成验证用的图片 工具类 MGL_CaptchaUtils跟配合使用更好
MGL_CaptchaUtils.java 单纯的验证码文字生成工具类
验证码难度级别,Simple只包含数字,Medium包含数字和小写英文,Hard包含数字和大小写英文
汉语工具类
依赖pinyin4j
MD5,SHA1加解密
ClassName: CryptoUtils salt + md5
Rfc2898DeriveBytes.java 差不多
时间单位枚举
用于密码加密 , 不可解密 Encryption.java
解析运算字符串
HtmlUtils.java
HttpUtils.java
ClassName: ImageUtils
Json序列化工具
Md5Utils.java
MD5加密
NeuQuant.java
数字修约工具类
提供各种数值修约方法的工具类,支持四舍五入、向上取整、向下取整等
Class containing implementation of HOTP/TOTP.
Types of secret keys.
ClassName: PicUtils
二维码工具类
redis 工具类
salt + md5这样的时候用的 但是目前还不采用 因为有人研究过此方法也并不安全
ClassName: Rfc2898DeriveBytes
RSA安全编码组件
ID生成器的单例模式单例模式的
Spring(Spring boot)工具封装
时间工具类
CodingUtils.java
ClassName: URLUtils 用于路径的加密 URL地址的加密等等
用正则表达式 校验字段
ClassName: XMLUtils
Abstraction for collection of OTP tokens.
Indicates that
OtpSource failed to performed the requested operation.An implementation of the HOTP generator specified by RFC 4226.
ClassName: TestModel
Clock input for the time-based OTPs (TOTP).
Counter whose value is a deterministic function of time as described in RFC 6238
"TOTP: Time-Based One-Time Password Algorithm".
A class for handling a variety of utility things.