pub fn decrypt_short_buffer(
_ciphertext: &[u8],
_private_key: &[u8],
) -> Result<Vec<u8>>Expand description
Decrypt a short buffer using a private key.
§Note
This is a placeholder function. It will be implemented in a future release
to support decrypting small buffers encrypted with encrypt_short_buffer.
§Arguments
_ciphertext- The encrypted data_private_key- The recipient’s private key
§Returns
Err(BottleError::UnsupportedAlgorithm)- Currently not implemented
§Future Implementation
This will support RSA decryption for short buffers when RSA support is added.