Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
x/crypto/scrypt: update recommended parameters #22082
The documentation for the Go scrypt library states:
It is now 2017, so it may be good to update the documented parameters as CPU's have gotten more powerful.
scrypt.Key(serialised, nil, 1<<17, 16, 4, 32*3)
github.com/codahale/grump defaults to N=20, r=8, p=1. Then again, it also says "You are better off CC'ing a copy of your communications to the FBI than using this."
github.com/odeke-em/drive/src/dcrypto/v1 uses N= 262144, r=8, p=1.
github.com/dchest/scryptutil uses N=1 << 18, r=8, p=1.