mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-12 00:32:27 +08:00
fmt: fix some gofmt issue
This commit is contained in:
@@ -65,7 +65,7 @@ func AesCbcEncrypt(data, key []byte) []byte {
|
||||
return encrypted
|
||||
}
|
||||
|
||||
// AesEcbDecrypt decrypt data with key use AES CBC algorithm
|
||||
// AesCbcDecrypt decrypt data with key use AES CBC algorithm
|
||||
// len(key) should be 16, 24 or 32
|
||||
func AesCbcDecrypt(encrypted, key []byte) []byte {
|
||||
block, _ := aes.NewCipher(key)
|
||||
|
||||
Reference in New Issue
Block a user