ReviewR.Web.Services.TokenService.Protect C# (CSharp) Method

Protect() protected method

protected Protect ( byte data, string purpose ) : string
data byte
purpose string
return string
        protected virtual string Protect(byte[] data, string purpose)
        {
            return MachineKey.Encode(data, MachineKeyProtection.All);
        }