safely encrypt sensitive data

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

Syntax

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

Parameters

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

Return Value

encrypted string

See Also