feat: sha1 with ecdsa verifier

This commit is contained in:
0xvikasrushi
2024-07-28 18:22:43 +00:00
parent 85b4f3a9c5
commit 8391df73c1
3 changed files with 144 additions and 189 deletions

View File

@@ -92,7 +92,6 @@ export function generateCircuitInputsRegister(
);
}
// ! TODO
const [messagePadded, messagePaddedLen] = shaPad(
signatureAlgorithm,
new Uint8Array(dataGroupHashes),
@@ -117,7 +116,6 @@ export function generateCircuitInputsRegister(
BigInt(n_dsc),
BigInt(k_dsc)
);
// eContent = Array.from(messagePadded).map((x) => x.toString());
}
return {
secret: [secret],