Halite v2.1.0 Release Notes
Release Date: 2016-05-07 // almost 8 years ago-
- Key derivation (via
KeyFactory
) can now accept an extra argument to specify the security level of the derived key.- Scrypt:
INTERACTIVE
orSENSITIVE
- Argon2i:
INTERACTIVE
,MODERATE
, orSENSITIVE
- Scrypt:
- 🔒
Password
can now accept a security level argument. We recommend sticking withINTERACTIVE
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
andNode
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.
- Key derivation (via