diff options
author | sina <sina@snix.ir> | 2022-07-30 17:14:53 +0430 |
---|---|---|
committer | sina <sina@snix.ir> | 2022-07-30 17:14:53 +0430 |
commit | 339b7de27b17a830750c050377f3f452cc45f1cc (patch) | |
tree | bdd620b46031bd810604db92864ed0ee11543ed3 | |
parent | 3449c5feab5d27bf395c12a5ad68396412a28577 (diff) |
commit git
-rw-r--r-- | cipher.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ func newRabbitAead(key []byte) (cipher.AEAD, error) { noncesize: rabbitio.IVXLen, key: make([]byte, rabbitio.KeyLen), } - copy(rabbitAead.key[:], key) + copy(rabbitAead.key, key) return rabbitAead, nil } |