(&self, key: &str)
| 188 | } |
| 189 | |
| 190 | fn validate_key(&self, key: &str) -> bool { |
| 191 | key.len() == 64 && key.chars().all(|c| c.is_ascii_hexdigit()) |
| 192 | } |
| 193 | |
| 194 | // TODO: This is TBD. Verifying key validation is unclear at the moment. |
| 195 | // We'll add it once circuit design is finalized and we can run a Groth16 setup. |