docs: document empty/whitespace passthrough behavior in ICryptoProvider

This commit is contained in:
Stevan Freeborn
2026-04-02 20:48:58 -05:00
parent 12672c9b21
commit 04041d0401
@@ -9,13 +9,13 @@ public interface ICryptoProvider
/// Encrypts the provided plain text. /// Encrypts the provided plain text.
/// </summary> /// </summary>
/// <param name="plainText">The unencrypted string to be encrypted.</param> /// <param name="plainText">The unencrypted string to be encrypted.</param>
/// <returns>The encrypted cipher text.</returns> /// <returns>The encrypted cipher text. If <paramref name="plainText"/> is null, empty, or whitespace, it is returned unchanged.</returns>
string Encrypt(string plainText); string Encrypt(string plainText);
/// <summary> /// <summary>
/// Decrypts the provided cipher text. /// Decrypts the provided cipher text.
/// </summary> /// </summary>
/// <param name="cipherText">The encrypted string to be decrypted.</param> /// <param name="cipherText">The encrypted string to be decrypted.</param>
/// <returns>The decrypted plain text.</returns> /// <returns>The decrypted plain text. If <paramref name="cipherText"/> is null, empty, or whitespace, it is returned unchanged.</returns>
string Decrypt(string cipherText); string Decrypt(string cipherText);
} }