mirror of
https://github.com/multipleof4/lynchmark.git
synced 2026-02-04 09:57:54 +00:00
Docs: Update benchmark for moonshotai/kimi-k2.5
This commit is contained in:
9
tests/10_scrypt_hash/outputs/moonshotai_kimi-k2.5.js
Normal file
9
tests/10_scrypt_hash/outputs/moonshotai_kimi-k2.5.js
Normal file
@@ -0,0 +1,9 @@
|
||||
const hashPassword = async (p, s) => {
|
||||
const { scrypt } = await import('https://esm.sh/scrypt-js@3.0.1');
|
||||
const t = new TextEncoder();
|
||||
const r = await scrypt(t.encode(p), t.encode(s), 1024, 8, 1, 32);
|
||||
return Array.from(r, x => x.toString(16).padStart(2, '0')).join('');
|
||||
};
|
||||
export default hashPassword;
|
||||
// Generation time: 36.319s
|
||||
// Result: PASS
|
||||
Reference in New Issue
Block a user