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