Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zcyc/chepaihash
一个将字符串转换为中国车牌号的哈希工具
https://github.com/zcyc/chepaihash
Last synced: 13 days ago
JSON representation
一个将字符串转换为中国车牌号的哈希工具
- Host: GitHub
- URL: https://github.com/zcyc/chepaihash
- Owner: zcyc
- License: mit
- Created: 2024-12-16T11:46:55.000Z (20 days ago)
- Default Branch: main
- Last Pushed: 2024-12-16T12:04:27.000Z (20 days ago)
- Last Synced: 2024-12-16T12:20:54.160Z (20 days ago)
- Language: Go
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ChepaiHash
_ChepaiHash_ 是一个将字符串转换为中国车牌号的哈希工具
## 作为 Cli 使用
```bash
go install github.com/zcyc/chepaihash
``````bash
chepaihash helloworld
# 湘L·3J9WF
```## 作为 Lib 使用
1. install
```shell
go get github.com/zcyc/chepaihash
```2. use
```go
package mainimport (
"fmt"
"github.com/zcyc/chepaihash/chepaihash"
)func main() {
chepai, _ := chepaihash.Hash("helloworld")
fmt.Println(chepai) // 湘L·3J9WF
}
```## 为什么
我需要一个可读性强、易于识别的哈希值来匿名化数据
## 相关项目
- [cunzaizhuyi/hashplate-cn](https://github.com/cunzaizhuyi/hashplate-cn)
- [hugoattal/hashplate](https://github.com/hugoattal/hashplate)
- [jerryshell/chepaihash](https://github.com/jerryshell/chepaihash)## 开源协议
[MIT](LICENSE)