SymmetricEncryption Class
Class SymmetricEncryption uses a rotating IV with a given password.
The IV is stored in the cypher bytes ensuring that the same text
generates a different cypher result each time.
Namespace:
WalterAssembly: Walter (in Walter.dll)
Syntax
[DebuggerNonUserCodeAttribute] [DebuggerStepThroughAttribute] public sealed class SymmetricEncryption : LicenseBase
Examples
C#
public class Startup { public void ConfigureServices(IServiceCollection services) { // Other service configurations... /// // Configure SymmetricEncryption with a default password services.UseSymmetricEncryption("your-secure-password"); /// // Continue with service configuration... } }
Use DI to get the SymmetricEncryption instance injected in your class
class MySecureStorage { private readonly SymmetricEncryption _cypher; public MySecureStorage(SymmetricEncryption cypher) { _cypher= cypher; /// } ... rest of your code }

