w4c-workflows-api/Services/Credentials/ICredentialCipher.cs

12 lines
347 B
C#
Raw Permalink Normal View History

2026-09-11 22:02:46 +00:00
namespace w4c_workflows.Services.Credentials;
/// <summary>
/// Symmetric protection for credential payloads at rest. Implementations must be
/// authenticated (tamper-evident) and deterministic to store as text.
/// </summary>
public interface ICredentialCipher
{
string Protect(string plaintext);
string Unprotect(string ciphertext);
}