From 90aea319ecb4ceb0608150ba45860c10ff9d3796 Mon Sep 17 00:00:00 2001 From: Divide-By-0 Date: Thu, 8 Jun 2023 13:36:40 -0400 Subject: [PATCH] removed doubleblind constants --- package.json | 2 +- src/helpers/constants.ts | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/package.json b/package.json index 57e1bf8..5d49889 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "double-blind", + "name": "zk-email", "version": "0.1.0", "private": true, "dependencies": { diff --git a/src/helpers/constants.ts b/src/helpers/constants.ts index 5d3edc9..e3edf19 100644 --- a/src/helpers/constants.ts +++ b/src/helpers/constants.ts @@ -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