simple method that uses basic encryption to safely decode parameters

Namespace: DotNetNuke.Services.Cryptography
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
string DecryptParameter(
	string message,
	string passphrase
)
Visual Basic
Function DecryptParameter ( 
	message As String,
	passphrase As String
) As String

Parameters

message
Type: System..::..String
the text to be decrypted (decoded)
passphrase
Type: System..::..String
the key to perform the decryption

Return Value

decrypted string

See Also