rsa_operation_protected

Function rsa_operation_protected 

Source
pub async fn rsa_operation_protected<T, F, Fut>(operation: F) -> Result<T>
where F: FnOnce() -> Fut, Fut: Future<Output = Result<T>>,
Expand description

RSA operation wrapper with blinding protection

This is a placeholder for RSA operations that need timing protection. In a real implementation, this would use RSA blinding techniques to prevent timing attacks on RSA operations.

ยงSecurity Note

This is a placeholder implementation. For production use with RSA operations, consider using the ring crate or other cryptographic libraries that implement proper RSA blinding.