March 2026 Security Update
This page outlines the technical shifts from Legacy to Default security modes.
What we upgraded?
Scrypt Parameters
Scrypt Parameters
Legacy (Pre-March 2026)
Default (Current)
Salt Generation
const salt = `${passphrase.slice(-4)}${pin}`;
saltBuffer = Buffer.from(legacySalt);const KDF_DOMAIN_SEPARATOR = "mybucks.online-core.generateHash.v2";
const encoded = abi.encode(
["string", "string", "string"],
[KDF_DOMAIN_SEPARATOR, passphrase, pin],
);
const saltHash = ethers.keccak256(encoded);
saltBuffer = Buffer.from(saltHash.slice(2), "hex");Why we upgraded?
User Action & Compatibility
Deprecation of Legacy Mode
Last updated