namespace Cleanuparr.Infrastructure.Features.Security;
///
/// Provides encryption and decryption services for sensitive data.
///
public interface IEncryptionService
{
///
/// Encrypts a plain text string.
///
/// The text to encrypt.
/// The encrypted string.
string Encrypt(string plainText);
///
/// Decrypts an encrypted string.
///
/// The encrypted text to decrypt.
/// The decrypted plain text string.
/// Thrown when decryption fails.
string Decrypt(string cipherText);
///
/// Checks if a string is in encrypted format.
///
/// The text to check.
/// True if the text appears to be encrypted, false otherwise.
bool IsEncrypted(string text);
}