摘要: 在软件开发中 id 通常为 int 或者 long 类型,有时会有混淆 id 的需求,比如反爬虫。Hashids 是一个小型的开源库,可以将数字或者十六进制字符串转换成唯一的、非顺序的 id。 使用 添加依赖 <dependency> <groupId>org.hashids</groupId> < 阅读全文
posted @ 2022-01-26 10:02 VictorBu 阅读(727) 评论(0) 推荐(0) 编辑