| Package | Description |
|---|---|
| org.dromara.hutool.core.codec |
编码解码封装编码封装
|
| org.dromara.hutool.core.codec.binary |
BaseN编码解码,提供将bytes和baseN的编码转换功能。
|
| org.dromara.hutool.core.codec.hash |
提供Hash算法的封装
|
| org.dromara.hutool.core.codec.hash.metro |
MetroHash算法实现
参考:https://github.com/postamar/java-metrohash |
| org.dromara.hutool.core.data.id |
提供各种ID生成
|
| org.dromara.hutool.core.net.url |
URL相关工具
|
| org.dromara.hutool.extra.qrcode |
二维码封装,基于zxing库,入口为QrCodeUtil
|
| Class and Description |
|---|
| Decoder
解码接口
|
| Encoder
编码接口
|
| Hashids
Hashids 协议实现,以实现:
生成简短、唯一、大小写敏感并无序的hash值
自然数字的Hash值
可以设置不同的盐,具有保密性
可配置的hash长度
递增的输入产生的输出无法预测
来自:https://github.com/davidafsilva/java-hashids
Hashids可以将数字或者16进制字符串转为短且唯一不连续的字符串,采用双向编码实现,比如,它可以将347之类的数字转换为yr8之类的字符串,也可以将yr8之类的字符串重新解码为347之类的数字。 |
| Number128
128位数字表示,分为:
最高有效位(Most Significant Bit),64 bit(8 bytes)
最低有效位(Least Significant Bit),64 bit(8 bytes)
|
| PercentCodec
百分号编码(Percent-encoding), 也称作URL编码(URL encoding)。
|
| PercentCodec.Builder |
| Class and Description |
|---|
| Decoder
解码接口
|
| Encoder
编码接口
|
| Class and Description |
|---|
| Encoder
编码接口
|
| Number128
128位数字表示,分为:
最高有效位(Most Significant Bit),64 bit(8 bytes)
最低有效位(Least Significant Bit),64 bit(8 bytes)
|
| Class and Description |
|---|
| Encoder
编码接口
|
| Number128
128位数字表示,分为:
最高有效位(Most Significant Bit),64 bit(8 bytes)
最低有效位(Least Significant Bit),64 bit(8 bytes)
|
| Class and Description |
|---|
| Number128
128位数字表示,分为:
最高有效位(Most Significant Bit),64 bit(8 bytes)
最低有效位(Least Significant Bit),64 bit(8 bytes)
|
| Class and Description |
|---|
| PercentCodec
百分号编码(Percent-encoding), 也称作URL编码(URL encoding)。
|
| Class and Description |
|---|
| Decoder
解码接口
|
| Encoder
编码接口
|
Copyright © 2025. All rights reserved.