Click or drag to resize
Rijndael256iEncryptBytes256Bit Method
Encrypts bytes with Rijndael

Namespace: TreeksLicensingLibrary
Assembly: TreeksLicensingLibrary (in TreeksLicensingLibrary.dll) Version: 1.3.5562.40448
public Object iEncryptBytes256Bit(
	byte[] plainBytes,
	string passPhrase,
	string saltValue = "DSFdsjdrgse6345Z6Rdfsgb534Z6TafsdgSDF5534ESERT4G6fgfhRYXGB",
	int keySize = 256,
	int passwordIterations = 7321,
	string initVector = "NMB2GMA4154887H8",
	string hashAlgorithm = "SHA1",
	bool ReturnBase64String = true


Type: SystemByte
Bytes to encrypt
Type: SystemString
saltValue (Optional)
Type: SystemString
Rijndael salt
keySize (Optional)
Type: SystemInt32
Rijndael key size
passwordIterations (Optional)
Type: SystemInt32
Rijndael iterations
initVector (Optional)
Type: SystemString
Rijndael initalization vector
hashAlgorithm (Optional)
Type: SystemString
Hash algorithm to use
ReturnBase64String (Optional)
Type: SystemBoolean
If set to true, function returns base64 string. When false, byte array is returned.

Return Value

Type: Object
Byte array or base 64 string base on ReturnBase64String parameter.
You don't have to create instance of Rijndael256 object. This is here to provide support for non .NET applications using COM model, which does not support static class members.
See Also