w4c-workflows-api/Services/Credentials/ICredentialCipher.cs
2026-09-12 01:02:46 +03:00

12 lines
347 B
C#

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);
}