simple method that uses basic encryption to safely encode parameters

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

Syntax

C#
public abstract string EncryptParameter(
	string message,
	string passphrase
)
Visual Basic
Public MustOverride Function EncryptParameter ( 
	message As String,
	passphrase As String
) As String

Parameters

message
Type: System..::..String
the text to be encrypted (encoded)
passphrase
Type: System..::..String
the key to perform the encryption

Return Value

encrypted string

Implements

ICryptographyProvider..::..EncryptParameter(String, String)

See Also