- Removed
setRandomSeed
andpbkdf2SHA256
fromrecrypt_wasm_binding.d.ts
and related places. These were only needed for Edge Legacy and IE11 which are no longer supported by recrypt-wasm-binding. - Removed support for MS Edge Legacy (version <= 44) as Microsoft has ended support for Edge Legacy
- Prep for Rust 2021 Edition
- Upgrade all JS and Rust dependencies.
- Upgrade
ironcore-search-helpers
to 0.1.2. Recrypt.EncryptedSearch.transliterateString
added to allow filtering of lists after encrypted search.
- Upgrade
recrypt-rs
to 0.11.0 - Expose new class for performing encrypted search. New class is
EncryptedSearch
and contains two methods for substring search.const encSearch = new Recrypt.EncryptedSearch();
encSearch.generateHashesForString(s: string, salt: Uint8Array, partitionId?: string): Uint32Array
encSearch.generateHashesForStringWithPadding(s: string, salt: Uint8Array, partitionId?: string): Uint32Array
- Consume latest
0.9
release of Recrypt to consume bug fix foraddPrivateKeys
andsubtractPrivateKeys
methods to correctly support PrivateKey rotation.
- Upgrade
recrypt-rs
to 0.8.4
- Upgrade
recrypt-rs
to 0.8.2 - Expose two new functions for adding or subtracting two private keys.
Recrypt.addPrivateKeys(key1: Uint8Array, key2: Uint8Array): Uint8Array
Recrypt.subtractPrivateKeys(key1: Uint8Array, key2: Uint8Array): Uint8Array
- Upgrade all dependencies to latest version, including recrypt-rs (0.7.1).
- Enable feature flags to use u32 backend for
ed25519-dalek
. Reduces the size of the resulting WASM binary.
- Upgrade to the latest released version of recrypt-rs (0.6.1) to avoid depending on fork of ed25519.
- If/when random seed is set, it's value will be cleared after use so it cannot be used as a seed for any subsequent operations.
- Added new method
setRandomSeed(seed: Uint8Array)
that can be used to pre-seed the PRNG that is needed in order to use this library. This can be useful to support loading this WASM module in a WebWorker and also support MSEdge which doesn't allow for random number generation in a WebWorker. Without being able to pre-seed the PRNG this library would fail in MSEdge in a WebWorker. If using this random seed, it should be a 32 byte Uint8Array of random bytes and needs to be invoked before creating an instance of theApi256
class. - Added a new method
pbkdf2SHA256(salt: Uint8Array, password: Uint8Array, iterations: number)
which adds support for generating a derived cryptographic key from the provided salt and password bytes. Will use SHA-256 as the hashing method to generate a 32 byte derived key based on the number of iterations provided.
Initial open source release