From 62d7aa288fa112a6f4da4b51cb66c263a03a3dfc Mon Sep 17 00:00:00 2001 From: Raphael Anyanwu Date: Sun, 25 Feb 2024 22:47:54 +0100 Subject: [PATCH] feat: add rsa code comment --- src/SafeCrypt.Lib/Encryption/RsaEncryption/Rsa.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/SafeCrypt.Lib/Encryption/RsaEncryption/Rsa.cs b/src/SafeCrypt.Lib/Encryption/RsaEncryption/Rsa.cs index 22963f4..e292221 100644 --- a/src/SafeCrypt.Lib/Encryption/RsaEncryption/Rsa.cs +++ b/src/SafeCrypt.Lib/Encryption/RsaEncryption/Rsa.cs @@ -5,8 +5,6 @@ namespace SafeCrypt.RsaEncryption { - - public static class Rsa { /// @@ -43,6 +41,11 @@ public static async Task EncryptAsync(RsaEncryptionParameters return result; } + /// + /// Asynchronously decrypts data using the RSA algorithm. + /// + /// The parameters for RSA decryption. + /// A task representing the asynchronous decryption operation. The result contains the decrypted data or any encountered errors. public static async Task DecryptAsync(RsaDecryptionParameters model) { var result = new DecryptionResult();