mirror of
https://github.com/multipleof4/lynchmark.git
synced 2026-04-27 19:52:14 +00:00
Docs: Update benchmark for deepseek/deepseek-v4-pro
This commit is contained in:
9
tests/10_scrypt_hash/outputs/deepseek_deepseek-v4-pro.js
Normal file
9
tests/10_scrypt_hash/outputs/deepseek_deepseek-v4-pro.js
Normal file
@@ -0,0 +1,9 @@
|
||||
async function hashPassword(p, s) {
|
||||
const e = new TextEncoder;
|
||||
const { default: scrypt } = await import('https://cdn.jsdelivr.net/npm/scrypt-js@3.0.1/+esm');
|
||||
const h = await scrypt(e.encode(p), e.encode(s), 1024, 8, 1, 32);
|
||||
return [...h].map(b => (b < 16 ? '0' : '') + b.toString(16)).join('');
|
||||
}
|
||||
export default hashPassword;
|
||||
// Generation time: 58.113s
|
||||
// Result: FAIL
|
||||
Reference in New Issue
Block a user