We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The scrypt code example doesn't work, as scrypt.Key also returns an error.
scrypt.Key
dk := scrypt.Key([]byte("some password"), salt, 16384, 8, 1, 32) --> dk, err := scrypt.Key([]byte("some password"), salt, 16384, 8, 1, 32)
dk := scrypt.Key([]byte("some password"), salt, 16384, 8, 1, 32)
dk, err := scrypt.Key([]byte("some password"), salt, 16384, 8, 1, 32)
https://github.com/golang/crypto/blob/05d11b2ca14108dfc7f74f4f66b28c7fe92e1fd0/scrypt/scrypt.go#L221
The text was updated successfully, but these errors were encountered:
golang/crypto@aa2481c
scrypt: fix broken example in documentation
f112038
Fixes golang/go#17046 Change-Id: I7fa7e0b700212992125de32524801048b56ac5d1 Reviewed-on: https://go-review.googlesource.com/28952 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
7223ea5
d25779d
02efdf1
No branches or pull requests
The scrypt code example doesn't work, as
scrypt.Key
also returns an error.dk := scrypt.Key([]byte("some password"), salt, 16384, 8, 1, 32)
-->
dk, err := scrypt.Key([]byte("some password"), salt, 16384, 8, 1, 32)
https://github.com/golang/crypto/blob/05d11b2ca14108dfc7f74f4f66b28c7fe92e1fd0/scrypt/scrypt.go#L221
The text was updated successfully, but these errors were encountered: