aboutsummaryrefslogtreecommitdiff
path: root/ask/ask.go
diff options
context:
space:
mode:
Diffstat (limited to 'ask/ask.go')
-rw-r--r--ask/ask.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ask/ask.go b/ask/ask.go
index 253245e..205ad4c 100644
--- a/ask/ask.go
+++ b/ask/ask.go
@@ -23,7 +23,7 @@ const (
type Passphrase struct{}
-func (Passphrase) DeriveKey(salt []byte, rounds int, length int) ([]byte, error) {
+func (Passphrase) Derive(salt []byte, rounds int, length int) ([]byte, error) {
pass, err := passphrase()
if err != nil {
return nil, err
@@ -33,7 +33,7 @@ func (Passphrase) DeriveKey(salt []byte, rounds int, length int) ([]byte, error)
type Confirmed struct{}
-func (Confirmed) DeriveKey(salt []byte, rounds int, length int) ([]byte, error) {
+func (Confirmed) Derive(salt []byte, rounds int, length int) ([]byte, error) {
pass, err := confirmed()
if err != nil {
return nil, err