Didn't know this website thank for sharing. Do you know what format are MESSAGE and SALT? I thought parameters must be in binary but inside github :
export function Pbkdf2HmacSha512(password: Uint8Array, salt: Uint8Array, count: number, length: number): Uint8Array {
const hmac = new HmacSha512(password);
return pbkdf2core(hmac, salt, length, count);
}
The format is defined in the BIP39 github specification which is UTF-8 NFKD[1].