Currently this packages uses the scrypt package, but since Node v10.5, Node ships with it's own built-in crypto.scrypt implementation.
Is their plans to support this?
A possible integration plan would be:
- Make the
scrypt package optional
- Use
crypto.scrypt when possible, fallback to scrypt package
- If both are not found (< v10.5 && package not install), throw an error
- Bump major version (since this is a breaking change)
- Add in the README to install
scrypt if using Node < v10.5
Would that be a good plan? I would be willing to implement this if we have a consensus.
Currently this packages uses the
scryptpackage, but since Node v10.5, Node ships with it's own built-incrypto.scryptimplementation.Is their plans to support this?
A possible integration plan would be:
scryptpackage optionalcrypto.scryptwhen possible, fallback toscryptpackagescryptif using Node < v10.5Would that be a good plan? I would be willing to implement this if we have a consensus.