pub async fn spawn_blocking_encryption<F, T>(f: F) -> Result<T>where F: FnOnce() -> Result<T> + Send + 'static, T: Send + 'static,
Run a blocking operation on a thread pool and return a future