mirror of
https://github.com/octoleo/restic.git
synced 2024-11-25 06:07:44 +00:00
Fix typo
This commit is contained in:
parent
81dddfccc1
commit
24cb360b5d
2
key.go
2
key.go
@ -365,7 +365,7 @@ func (k *Key) Decrypt(ciphertext []byte) ([]byte, error) {
|
|||||||
return k.decrypt(k.master, ciphertext)
|
return k.decrypt(k.master, ciphertext)
|
||||||
}
|
}
|
||||||
|
|
||||||
// DecryptUser verifes and decrypts the ciphertext with the master key. Ciphertext
|
// DecryptUser verifes and decrypts the ciphertext with the user key. Ciphertext
|
||||||
// must be in the form IV || Ciphertext || HMAC.
|
// must be in the form IV || Ciphertext || HMAC.
|
||||||
func (k *Key) DecryptUser(ciphertext []byte) ([]byte, error) {
|
func (k *Key) DecryptUser(ciphertext []byte) ([]byte, error) {
|
||||||
return k.decrypt(k.user, ciphertext)
|
return k.decrypt(k.user, ciphertext)
|
||||||
|
Loading…
Reference in New Issue
Block a user