From 24cb360b5dbc5dc5b3e61c63332028582339fb75 Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Mon, 29 Dec 2014 12:39:18 +0100 Subject: [PATCH] Fix typo --- key.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/key.go b/key.go index 369536228..0b8dff2ce 100644 --- a/key.go +++ b/key.go @@ -365,7 +365,7 @@ func (k *Key) Decrypt(ciphertext []byte) ([]byte, error) { 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. func (k *Key) DecryptUser(ciphertext []byte) ([]byte, error) { return k.decrypt(k.user, ciphertext)