mirror of
https://github.com/zkemail/zk-email-verify.git
synced 2026-01-09 13:38:03 -05:00
removed doubleblind constants
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "double-blind",
|
||||
"name": "zk-email",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
|
||||
@@ -1,11 +1,3 @@
|
||||
// the numeric form of the payload1 passed into the primitive
|
||||
// corresponds to the openssh signature produced by the following command:
|
||||
// echo "E PLURIBUS UNUM; DO NOT SHARE" | ssh-keygen -Y sign -n double-blind.xyz -f ~/.ssh/id_rsa | pbcopy
|
||||
export const MAGIC_DOUBLE_BLIND_BASE_MESSAGE =
|
||||
14447023197094784173331616578829287000074783130802912942914027114823662617007553911501158244718575362051758829289159984830457466395841150324770159971462582912755545324694933673046215187947905307019469n;
|
||||
// Length in bits
|
||||
export const MAGIC_DOUBLE_BLIND_BASE_MESSAGE_LEN = 672;
|
||||
|
||||
export const CIRCOM_FIELD_MODULUS = 21888242871839275222246405745257275088548364400416034343698204186575808495617n;
|
||||
export const MAX_HEADER_PADDED_BYTES = 1024; // NOTE: this must be the same as the first arg in the email in main args circom
|
||||
export const MAX_BODY_PADDED_BYTES = 1536; // NOTE: this must be the same as the arg to sha the remainder number of bytes in the email in main args circom
|
||||
|
||||
Reference in New Issue
Block a user