diff --git a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.1.js b/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.1.js deleted file mode 100644 index d7a5ef1..0000000 --- a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.1.js +++ /dev/null @@ -1,7 +0,0 @@ -const hashPassword = async (p, s) => { - const { scrypt } = await import('https://esm.sh/scrypt-js@3.0.1') - const e = new TextEncoder() - const k = await scrypt(e.encode(p), e.encode(s), 1024, 8, 1, 32) - return Array.from(k, b => b.toString(16).padStart(2, '0')).join('') -} -export default hashPassword; \ No newline at end of file diff --git a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.2.js b/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.2.js deleted file mode 100644 index af96c36..0000000 --- a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.2.js +++ /dev/null @@ -1,7 +0,0 @@ -const hashPassword = async (p, s) => { - const { scrypt } = await import('https://cdn.jsdelivr.net/npm/scrypt-js@3.0.1/scrypt.js'); - const e = new TextEncoder(); - const k = await scrypt(e.encode(p), e.encode(s), 1024, 8, 1, 32); - return Array.from(k, b => b.toString(16).padStart(2, '0')).join(''); -}; -export default hashPassword; \ No newline at end of file diff --git a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.3.js b/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.3.js deleted file mode 100644 index 49ecbda..0000000 --- a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.3.js +++ /dev/null @@ -1,7 +0,0 @@ -const hashPassword = async (p, s) => { - const { scrypt } = await import('https://esm.sh/scrypt-js@3.0.1') - const e = new TextEncoder() - const k = await scrypt(e.encode(p), e.encode(s), 1024, 8, 1, 32) - return [...k].map(b => b.toString(16).padStart(2, '0')).join('') -} -export default hashPassword; \ No newline at end of file diff --git a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.4.js b/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.4.js deleted file mode 100644 index 074fdb2..0000000 --- a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.4.js +++ /dev/null @@ -1,7 +0,0 @@ -const hashPassword = async (p, s) => { - const { scrypt } = await import('https://esm.sh/scrypt-js') - const e = new TextEncoder() - const h = await scrypt(e.encode(p), e.encode(s), 1024, 8, 1, 32) - return [...h].map(b => b.toString(16).padStart(2, '0')).join('') -} -export default hashPassword; \ No newline at end of file diff --git a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.5.js b/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.5.js deleted file mode 100644 index f52f4a8..0000000 --- a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.5.js +++ /dev/null @@ -1,7 +0,0 @@ -const hashPassword = async (p, s) => { - const { scrypt } = await import('https://cdn.jsdelivr.net/npm/scrypt-js@3.0.1/+esm') - const e = new TextEncoder() - const h = await scrypt(e.encode(p), e.encode(s), 1024, 8, 1, 32) - return Array.from(h, b => b.toString(16).padStart(2, '0')).join('') -} -export default hashPassword; \ No newline at end of file diff --git a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.6.js b/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.6.js deleted file mode 100644 index ba2768b..0000000 --- a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.6.js +++ /dev/null @@ -1,7 +0,0 @@ -const hashPassword = async (pwd, salt) => { - const { scrypt } = await import('https://cdn.jsdelivr.net/npm/scrypt-js@3.0.1/scrypt.js') - const enc = new TextEncoder() - const key = await scrypt(enc.encode(pwd), enc.encode(salt), 1024, 8, 1, 32) - return [...key].map(b => (b + 256).toString(16).slice(1)).join('') -} -export default hashPassword; \ No newline at end of file diff --git a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.7.js b/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.7.js deleted file mode 100644 index a90cce9..0000000 --- a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.7.js +++ /dev/null @@ -1,7 +0,0 @@ -const hashPassword = async (pwd, salt) => { - const { scrypt } = await import('https://cdn.jsdelivr.net/npm/scrypt-js@3.0.1/+esm'); - const e = new TextEncoder(); - const h = await scrypt(e.encode(pwd), e.encode(salt), 1024, 8, 1, 32); - return Array.from(h, b => b.toString(16).padStart(2, '0')).join(''); -}; -export default hashPassword; \ No newline at end of file diff --git a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.8.js b/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.8.js deleted file mode 100644 index 4748fd8..0000000 --- a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.8.js +++ /dev/null @@ -1,7 +0,0 @@ -const hashPassword = async (pwd, salt) => { - const { scrypt } = await import('https://esm.sh/scrypt-js') - const e = new TextEncoder() - const h = await scrypt(e.encode(pwd), e.encode(salt), 1024, 8, 1, 32) - return [...h].map(v => v.toString(16).padStart(2, '0')).join('') -} -export default hashPassword; \ No newline at end of file diff --git a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.9.js b/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.9.js deleted file mode 100644 index 132f0cf..0000000 --- a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.9.js +++ /dev/null @@ -1,7 +0,0 @@ -const hashPassword = async (pwd, salt) => { - const { scrypt } = await import('https://esm.sh/scrypt-js'); - const enc = new TextEncoder(); - const hash = await scrypt(enc.encode(pwd), enc.encode(salt), 1024, 8, 1, 32); - return Array.from(hash, b => b.toString(16).padStart(2, '0')).join(''); -}; -export default hashPassword; \ No newline at end of file diff --git a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.js b/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.js deleted file mode 100644 index d98f403..0000000 --- a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_0.js +++ /dev/null @@ -1,7 +0,0 @@ -const hashPassword = async (p, s) => { - const { scrypt } = await import('https://esm.sh/scrypt-js') - const e = new TextEncoder() - const k = await scrypt(e.encode(p), e.encode(s), 1024, 8, 1, 32) - return [...k].map(b => b.toString(16).padStart(2, '0')).join('') -} -export default hashPassword; \ No newline at end of file diff --git a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.1.js b/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.1.js deleted file mode 100644 index 074fdb2..0000000 --- a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.1.js +++ /dev/null @@ -1,7 +0,0 @@ -const hashPassword = async (p, s) => { - const { scrypt } = await import('https://esm.sh/scrypt-js') - const e = new TextEncoder() - const h = await scrypt(e.encode(p), e.encode(s), 1024, 8, 1, 32) - return [...h].map(b => b.toString(16).padStart(2, '0')).join('') -} -export default hashPassword; \ No newline at end of file diff --git a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.2.js b/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.2.js deleted file mode 100644 index d98f403..0000000 --- a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.2.js +++ /dev/null @@ -1,7 +0,0 @@ -const hashPassword = async (p, s) => { - const { scrypt } = await import('https://esm.sh/scrypt-js') - const e = new TextEncoder() - const k = await scrypt(e.encode(p), e.encode(s), 1024, 8, 1, 32) - return [...k].map(b => b.toString(16).padStart(2, '0')).join('') -} -export default hashPassword; \ No newline at end of file diff --git a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.3.js b/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.3.js deleted file mode 100644 index 49ecbda..0000000 --- a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.3.js +++ /dev/null @@ -1,7 +0,0 @@ -const hashPassword = async (p, s) => { - const { scrypt } = await import('https://esm.sh/scrypt-js@3.0.1') - const e = new TextEncoder() - const k = await scrypt(e.encode(p), e.encode(s), 1024, 8, 1, 32) - return [...k].map(b => b.toString(16).padStart(2, '0')).join('') -} -export default hashPassword; \ No newline at end of file diff --git a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.4.js b/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.4.js deleted file mode 100644 index 2240200..0000000 --- a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.4.js +++ /dev/null @@ -1,9 +0,0 @@ -const hashPassword = async (p, s) => { - const { scrypt } = await import('https://esm.sh/scrypt-js') - const e = new TextEncoder() - return Array.from( - await scrypt(e.encode(p), e.encode(s), 1024, 8, 1, 32), - b => b.toString(16).padStart(2, '0') - ).join('') -} -export default hashPassword; \ No newline at end of file diff --git a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.5.js b/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.5.js deleted file mode 100644 index a627a4a..0000000 --- a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.5.js +++ /dev/null @@ -1,7 +0,0 @@ -const hashPassword = async (password, salt) => { - const { scrypt } = await import('https://unpkg.com/scrypt-js@3.0.1/scrypt.js') - const enc = str => new TextEncoder().encode(str) - const buf = await scrypt(enc(password), enc(salt), 1024, 8, 1, 32) - return Array.from(buf, b => b.toString(16).padStart(2, '0')).join('') -} -export default hashPassword; \ No newline at end of file diff --git a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.6.js b/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.6.js deleted file mode 100644 index b32153c..0000000 --- a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.6.js +++ /dev/null @@ -1,7 +0,0 @@ -const hashPassword = async (pwd, salt) => { - const { scrypt } = await import('https://esm.sh/scrypt-js@3.0.1') - const e = new TextEncoder() - const k = await scrypt(e.encode(pwd), e.encode(salt), 1024, 8, 1, 32) - return [...k].map(b => b.toString(16).padStart(2, '0')).join('') -} -export default hashPassword; \ No newline at end of file diff --git a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.7.js b/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.7.js deleted file mode 100644 index 49ecbda..0000000 --- a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.7.js +++ /dev/null @@ -1,7 +0,0 @@ -const hashPassword = async (p, s) => { - const { scrypt } = await import('https://esm.sh/scrypt-js@3.0.1') - const e = new TextEncoder() - const k = await scrypt(e.encode(p), e.encode(s), 1024, 8, 1, 32) - return [...k].map(b => b.toString(16).padStart(2, '0')).join('') -} -export default hashPassword; \ No newline at end of file diff --git a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.8.js b/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.8.js deleted file mode 100644 index f72843f..0000000 --- a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.8.js +++ /dev/null @@ -1,11 +0,0 @@ -const hashPassword = async (password, salt) => { - const { scrypt } = await import('https://esm.sh/scrypt-js') - const encoder = new TextEncoder() - const buffer = await scrypt( - encoder.encode(password), - encoder.encode(salt), - 1024, 8, 1, 32 - ) - return [...buffer].map(b => b.toString(16).padStart(2, '0')).join('') -} -export default hashPassword; \ No newline at end of file diff --git a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.9.js b/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.9.js deleted file mode 100644 index 7ab05bc..0000000 --- a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.9.js +++ /dev/null @@ -1,7 +0,0 @@ -const hashPassword = async (p, s) => { - const { scrypt: k } = await import('https://esm.sh/scrypt-js@3.0.1') - const e = t => new TextEncoder().encode(t) - const r = await k(e(p), e(s), 1024, 8, 1, 32) - return [...r].map(b => b.toString(16).padStart(2, '0')).join('') -} -export default hashPassword; \ No newline at end of file diff --git a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.js b/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.js deleted file mode 100644 index 123bdb7..0000000 --- a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_1.js +++ /dev/null @@ -1,7 +0,0 @@ -const hashPassword = async (pwd, salt) => { - const { scrypt } = await import('https://esm.sh/scrypt-js') - const e = new TextEncoder() - const k = await scrypt(e.encode(pwd), e.encode(salt), 1024, 8, 1, 32) - return [...k].map(b => b.toString(16).padStart(2, '0')).join('') -} -export default hashPassword; \ No newline at end of file diff --git a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_2.js b/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_2.js deleted file mode 100644 index c01b326..0000000 --- a/tests/10_scrypt_hash/outputs_gemini/gemini-3-pro-preview TEMP_2.js +++ /dev/null @@ -1,7 +0,0 @@ -const hashPassword = async (p, s) => { - const { scrypt } = await import('https://cdn.jsdelivr.net/npm/scrypt-js/+esm') - const e = new TextEncoder() - const k = await scrypt(e.encode(p), e.encode(s), 1024, 8, 1, 32) - return Array.from(k, b => b.toString(16).padStart(2, '0')).join('') -} -export default hashPassword; \ No newline at end of file