Method | Description | |
---|---|---|
Decode ( string encodedData, MachineKeyProtection protectionOption ) : byte[] | ||
Encode ( byte data, MachineKeyProtection protectionOption ) : string | ||
Protect ( byte userData ) : byte[] | ||
Unprotect ( byte protectedData ) : byte[] |
Method | Description | |
---|---|---|
GetHashed ( string purposes ) : byte[] |
public static Decode ( string encodedData, MachineKeyProtection protectionOption ) : byte[] | ||
encodedData | string | |
protectionOption | MachineKeyProtection | |
return | byte[] |
public static Encode ( byte data, MachineKeyProtection protectionOption ) : string | ||
data | byte | |
protectionOption | MachineKeyProtection | |
return | string |
public static Protect ( byte userData ) : byte[] | ||
userData | byte | |
return | byte[] |
public static Unprotect ( byte protectedData ) : byte[] | ||
protectedData | byte | |
return | byte[] |