Skip to content

v3.0.0

Compare
Choose a tag to compare
@mjorgegulab mjorgegulab released this 22 Sep 21:35
· 19 commits to main since this release
b57087d

Features

  • [lib] Move internal salt functionality to extractSaltFromHmac
  • [lib] Move internal HMAC secure key functionality to createHmacSecureKey
  • [lib] Remove internal method generateKeyDEK
  • [lib] [BREAKING] Rename createArgonHashFromPassword to createArgon2HashFromPassword
  • [lib] [BREAKING] Rename verifyArgonHashFromPassword to verifyArgon2HashFromPassword
  • [lib] [BREAKING] Remove outputLength from createCustomHash & verifyCustomHash methods
  • [lib] [BREAKING] Remove encoding param from genRandomPassword method
  • [lib] [BREAKING] Add new option param to createCustomHash & verifyCustomHash methods
  • [lib] [BREAKING] Add new option param to createSecureHash & verifySecureHash methods
  • [lib] [BREAKING] Add new option param to createCustomHmac & verifyCustomHmac methods
  • [lib] [BREAKING] Add new option param to createSecureHmac & verifySecureHmac methods
  • [lib] [BREAKING] Add new option param to symmetricSecureDataEncrypt & symmetricSecureDataDecrypt methods
  • [lib] Make public available symmetricDataEncrypt & symmetricDataDecrypt methods
  • [lib] Add new option param to symmetricDataEncrypt & symmetricDataDecrypt methods
  • [lib config] Rename kdf.defaultOutputKeyLength to kdf.outputKeyLength
  • [lib] Rename createSaferRandomData to createSafeRandomData
  • [lib] Make public available createSafeRandomData method
  • [lib] Make length param of deriveMasterKey as optional

Refactoring

  • [lib] Remove redundant Buffer.from of results concatenation

Tests

  • [test] Add tests to reflect all the available methods

Documentation

  • [docs] Set v3.x version reflecting all the previous changes
  • [docs config] Set only warn on onBrokenLinks docusaurus config option

Infrastructure

  • [readme] Show wiki publication result
  • [gh action] Remove github packages publish workflow
  • [gh action] Fix NPM package publish workflow. Set --registry & --access params

Full Changelog: v2.2.3...v3.0.0


This version includes a lot of changes in the public available methods so please read the documentation to stay up to date.