Skip to content

Version 2.1.0

Choose a tag to compare

@paragonie-scott paragonie-scott released this 07 May 21:32
· 530 commits to master since this release
  • Minimum PECL libsodium version set to 1.0.6.
  • Key derivation (via KeyFactory) can now accept an extra argument to
    specify the security level of the derived key.
    • Scrypt: INTERACTIVE or SENSITIVE
    • Argon2i: INTERACTIVE, MODERATE, or SENSITIVE
  • Password can now accept a security level argument. We recommend
    sticking with INTERACTIVE for end users, but if you'd rather make
    administrative accounts cost more to attack, now you can make that
    happen within Halite.
  • MerkleTree can now accept a personalization string for the hash
    calculation.
  • MerkleTree can output a specific hash length (between 16 and 64).
  • Both MerkleTree and Node now lazily calculate the Merkle root
    rather than calculating it eagerly. This results in less CPU waste.
  • Cleaned up the legacy cruft in the Key classes. Now they only accept
    a string in their constructor.