/// <summary> /// Constructor /// </summary> /// <param name="context">Context for engine</param> public MdcryptEngine(MdcryptContext context) { if (context is null) { throw new ArgumentNullException(nameof(context)); } Context = context; }
/// <summary> /// Executes the protection phase. /// </summary> /// <param name="context">The working context.</param> /// <param name="parameters">The parameters of protection.</param> protected abstract void Execute(MdcryptContext context, ProtectionParameters parameters);