Skip to content

v2.1.0

Latest

Choose a tag to compare

@MattSurabian MattSurabian released this 05 Jun 03:28

Release Notes:

  • Keys can now be passed into the encrypt and decrypt constructors as strings, provided the string's encoding matches what the module is configured for. The module's encoding can be changed using the setKeyEncoding method and discovered with the getKeyEncoding method. The easiest and most secure way to create an encoded key string is with the createEncodedKey method.
  • Benchmark tests are run for informational purposes and to ensure key generation remains incredibly slow.