C# Class BusinessLogic.Logic.Security.MachineKeyDataProtector

Inheritance: IDataProtector
Show file Open project: NemeStats/NemeStats

Public Methods

Method Description
MachineKeyDataProtector ( string purposes ) : System.Web.Security
Protect ( byte userData ) : byte[]
Unprotect ( byte protectedData ) : byte[]

Method Details

MachineKeyDataProtector() public method

public MachineKeyDataProtector ( string purposes ) : System.Web.Security
purposes string
return System.Web.Security

Protect() public method

public Protect ( byte userData ) : byte[]
userData byte
return byte[]

Unprotect() public method

public Unprotect ( byte protectedData ) : byte[]
protectedData byte
return byte[]