Rijndael256iDecryptBytes256Bit Method (Byte, String, String, Int32, Int32, String, String) |
Decrypts encrypted byte array
Namespace: TreeksLicensingLibraryAssembly: TreeksLicensingLibrary (in TreeksLicensingLibrary.dll) Version: 1.3.5562.40448
Syntax public byte[] iDecryptBytes256Bit(
byte[] cipherBytes,
string passPhrase,
string saltValue = "DSFdsjdrgse6345Z6Rdfsgb534Z6TafsdgSDF5534ESERT4G6fgfhRYXGB",
int keySize = 256,
int passwordIterations = 7321,
string initVector = "NMB2GMA4154887H8",
string hashAlgorithm = "SHA1"
)
Public Function iDecryptBytes256Bit (
cipherBytes As Byte(),
passPhrase As String,
Optional saltValue As String = "DSFdsjdrgse6345Z6Rdfsgb534Z6TafsdgSDF5534ESERT4G6fgfhRYXGB",
Optional keySize As Integer = 256,
Optional passwordIterations As Integer = 7321,
Optional initVector As String = "NMB2GMA4154887H8",
Optional hashAlgorithm As String = "SHA1"
) As Byte()
public:
array<unsigned char>^ iDecryptBytes256Bit(
array<unsigned char>^ cipherBytes,
String^ passPhrase,
String^ saltValue = L"DSFdsjdrgse6345Z6Rdfsgb534Z6TafsdgSDF5534ESERT4G6fgfhRYXGB",
int keySize = 256,
int passwordIterations = 7321,
String^ initVector = L"NMB2GMA4154887H8",
String^ hashAlgorithm = L"SHA1"
)
member iDecryptBytes256Bit :
cipherBytes : byte[] *
passPhrase : string *
?saltValue : string *
?keySize : int *
?passwordIterations : int *
?initVector : string *
?hashAlgorithm : string
(* Defaults:
let _saltValue = defaultArg saltValue "DSFdsjdrgse6345Z6Rdfsgb534Z6TafsdgSDF5534ESERT4G6fgfhRYXGB"
let _keySize = defaultArg keySize 256
let _passwordIterations = defaultArg passwordIterations 7321
let _initVector = defaultArg initVector "NMB2GMA4154887H8"
let _hashAlgorithm = defaultArg hashAlgorithm "SHA1"
*)
-> byte[]
Parameters
- cipherBytes
- Type: SystemByte
Encrypted bytes - passPhrase
- Type: SystemString
Password - 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
Return Value
Type:
BytePlain byte array
Remarks 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