safely encrypt sensitive data

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

Syntax

C#
public abstract string EncryptString(
	string message,
	string passphrase
)
Visual Basic
Public MustOverride 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

Implements

ICryptographyProvider..::..EncryptString(String, String)

See Also