加密相关工具类直接使用Spring util封装,减少jar依赖
类名: DigestUtil
md5
/** |
md5
/** |
md5Hex
/** |
md5Hex
/** |
sha1
/** |
sha1
/** |
sha1Hex
/** |
sha1Hex
/** |
sha224
/** |
sha224
/** |
sha224Hex
/** |
sha224Hex
/** |
sha256
/** |
sha256
/** |
sha256Hex
/** |
sha256Hex
/** |
sha384
/** |
sha384
/** |
sha384Hex
/** |
sha384Hex
/** |
sha512
/** |
sha512
/** |
sha512Hex
/** |
sha512Hex
/** |
digest
/** |
digestHex
/** |
hmacMd5
/** |
hmacMd5
/** |
hmacMd5Hex
/** |
hmacMd5Hex
/** |
hmacSha1
/** |
hmacSha1
/** |
hmacSha1Hex
/** |
hmacSha1Hex
/** |
hmacSha224
/** |
hmacSha224
/** |
hmacSha224Hex
/** |
hmacSha224Hex
/** |
hmacSha256
/** |
hmacSha256
/** |
hmacSha256Hex
/** |
hmacSha256Hex
/** |
hmacSha384
/** |
hmacSha384
/** |
hmacSha384Hex
/** |
hmacSha384Hex
/** |
hmacSha512
/** |
hmacSha512
/** |
hmacSha512Hex
/** |
hmacSha512Hex
/** |
digestHmacHex
/** |
digestHmac
/** |
encodeHex
/** |
decodeHex
/** |
slowEquals
/** |
slowEquals
/** |
微信 vs 公众号
精彩内容每日推荐!!!