Encryption.UnprotectBytes

Encrypt bytes using the Data Protection API on Windows. This API uses internal keys to encrypt data which is valid for decryption only on the same machine.

This is an idea storage mechanism for application registraions, service passwords and other semi-transient data that is specific to the software used on the current machine

public static Byte[] UnprotectBytes(Byte[] encryptBytes,
	string key,
	DataProtectionScope scope)

Parameters

encryptBytes

key

scope

Remarks

DO NOT USE FOR DATA THAT WILL CROSS MACHINE BOUNDARIES

Overloads:


See also:

Class Encryption

© West Wind Technologies, 2019 • Updated: 06/23/19
Comment or report problem with topic