diff --git a/cryptor/encrypt.go b/cryptor/crypto.go similarity index 100% rename from cryptor/encrypt.go rename to cryptor/crypto.go diff --git a/cryptor/encrypt_test.go b/cryptor/crypto_test.go similarity index 100% rename from cryptor/encrypt_test.go rename to cryptor/crypto_test.go diff --git a/docs/cryptor.md b/docs/cryptor.md index d318c0b..a30a125 100644 --- a/docs/cryptor.md +++ b/docs/cryptor.md @@ -6,7 +6,7 @@ Package cryptor contains some functions for data encryption and decryption. Supp ## Source: - [https://github.com/duke-git/lancet/blob/main/cryptor/basic.go](https://github.com/duke-git/lancet/blob/main/cryptor/basic.go) -- [https://github.com/duke-git/lancet/blob/main/cryptor/encrypt.go](https://github.com/duke-git/lancet/blob/main/cryptor/encrypt.go) +- [https://github.com/duke-git/lancet/blob/main/cryptor/crypto.go](https://github.com/duke-git/lancet/blob/main/cryptor/crypto.go) diff --git a/docs/cryptor_zh-CN.md b/docs/cryptor_zh-CN.md index d004563..9d2da8c 100644 --- a/docs/cryptor_zh-CN.md +++ b/docs/cryptor_zh-CN.md @@ -6,7 +6,7 @@ cryptor加密包支持数据加密和解密,获取md5,hash值。支持base64 ## 源码: - [https://github.com/duke-git/lancet/blob/main/cryptor/basic.go](https://github.com/duke-git/lancet/blob/main/cryptor/basic.go) -- [https://github.com/duke-git/lancet/blob/main/cryptor/encrypt.go](https://github.com/duke-git/lancet/blob/main/cryptor/encrypt.go) +- [https://github.com/duke-git/lancet/blob/main/cryptor/crypto.go](https://github.com/duke-git/lancet/blob/main/cryptor/crypto.go)