aboutsummaryrefslogtreecommitdiff
path: root/key/key.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2017-07-28 00:29:26 +0200
committerDimitri Sokolyuk <demon@dim13.org>2017-07-28 00:29:26 +0200
commit1b186b622c567a396bd2fd2df492f2766f634058 (patch)
tree394472d67768dbeaf544805e5771c55166d3fbfb /key/key.go
parent981c887a191f8bf4482a22d6e1187dc9836a7f06 (diff)
wording
Diffstat (limited to 'key/key.go')
-rw-r--r--key/key.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/key/key.go b/key/key.go
index d9e8aef..413ac23 100644
--- a/key/key.go
+++ b/key/key.go
@@ -26,7 +26,7 @@ var (
kdfAlg = [2]byte{'B', 'K'}
)
-// Deriver returns a derived key from passphrase
+// Deriver returns a derived encryption key
type Deriver interface {
Derive(salt []byte, rounds int, length int) ([]byte, error)
}