Files
halo2-zk-email/examples/example_email_verify.config
2023-07-03 10:20:36 +09:00

49 lines
1.3 KiB
Plaintext

{
"degree": 19,
"num_flex_advice": 12,
"num_range_lookup_advice": 1,
"num_flex_fixed": 1,
"range_lookup_bits": 18,
"sha256_config": {
"num_bits_lookup": 16,
"num_advice_columns": 1
},
"sign_verify_config": {
"public_key_bits": 2048
},
"header_config": {
"bodyhash_allstr_filepath": "./examples/bodyhash_allstr.txt",
"bodyhash_substr_filepath": "./examples/bodyhash_substr_0.txt",
"allstr_filepathes": [
"./examples/from_allstr.txt"
],
"substr_filepathes": [
[
"./examples/from_substr_0.txt"
]
],
"max_variable_byte_size": 1024,
"substr_regexes": [
[
"(?<=from:).*@.*(?=\r)"
]
]
},
"body_config": {
"allstr_filepathes": [
"./examples/body_allstr.txt"
],
"substr_filepathes": [
[
"./examples/body_substr_0.txt"
]
],
"max_variable_byte_size": 512,
"is_prefix_skip_enable": true,
"substr_regexes": [
[
"(?<=email was meant for @)(a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z|A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z|0|1|2|3|4|5|6|7|8|9|_)+(?=.)"
]
]
}
}