Rijndael256iDecryptBytes256Bit Method (String, String, String, Int32, Int32, String, String) |
Decrypts base64 encoded string to byte array
Namespace: TreeksLicensingLibraryAssembly: TreeksLicensingLibrary (in TreeksLicensingLibrary.dll) Version: 1.3.5562.40448
Syntax public byte[] iDecryptBytes256Bit(
string cipherText,
string passPhrase,
string saltValue = "DSFdsjdrgse6345Z6Rdfsgb534Z6TafsdgSDF5534ESERT4G6fgfhRYXGB",
int keySize = 256,
int passwordIterations = 7321,
string initVector = "NMB2GMA4154887H8",
string hashAlgorithm = "SHA1"
)
Public Function iDecryptBytes256Bit (
cipherText As String,
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(
String^ cipherText,
String^ passPhrase,
String^ saltValue = L"DSFdsjdrgse6345Z6Rdfsgb534Z6TafsdgSDF5534ESERT4G6fgfhRYXGB",
int keySize = 256,
int passwordIterations = 7321,
String^ initVector = L"NMB2GMA4154887H8",
String^ hashAlgorithm = L"SHA1"
)
member iDecryptBytes256Bit :
cipherText : string *
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
- cipherText
- Type: SystemString
Base64 encoced input string - 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:
ByteByte 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