Skip to main content

decrypt_key_to_bytes

Function decrypt_key_to_bytes 

Source
pub fn decrypt_key_to_bytes(
    encrypted_data: &str,
    encryption_key: &[u8; 32],
) -> Result<Vec<u8>, String>
Expand description

Decrypt to raw bytes (used when plaintext may be base58 string or 64-byte keypair).