namespace StevanFreeborn.Extensions.Configuration.Secure.Cryptography;
///
/// Defines the contract for cryptographic operations.
///
public interface ICryptoProvider
{
///
/// Encrypts the provided plain text.
///
/// The unencrypted string to be encrypted.
/// The encrypted cipher text. If is null, empty, or whitespace, it is returned unchanged.
string Encrypt(string plainText);
///
/// Decrypts the provided cipher text.
///
/// The encrypted string to be decrypted.
/// The decrypted plain text. If is null, empty, or whitespace, it is returned unchanged.
string Decrypt(string cipherText);
}