Function leo_lang::cli::parse_record
source ยท pub fn parse_record<N: Network>(
private_key: &PrivateKey<N>,
record: &str,
) -> Result<Record<N, Plaintext<N>>>
Expand description
Parses the record string. If the string is a ciphertext, then attempt to decrypt it. Lifted from snarkOS.