Releases: MattSurabian/aes-gcm-stream
Releases · MattSurabian/aes-gcm-stream
v2.1.0
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
setKeyEncodingmethod and discovered with thegetKeyEncodingmethod. The easiest and most secure way to create an encoded key string is with thecreateEncodedKeymethod. - Benchmark tests are run for informational purposes and to ensure key generation remains incredibly slow.
v2.0.0
Release Notes:
- The MAC is now transmitted at the end of the encrypt stream instead of at the beginning
- The decrypt stream stores cipher text in memory instead of the encrypt stream doing this.
- There are tests
npm testruns linting and style checks in addition to tests