Skip to content

Node crypto.scrypt support #10

Description

@Cretezy

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions