DevForce Help Reference
AesEncrypt Method (CryptoFns)


Encrypts a string given a password.
Syntax
'Declaration
 
Public Shared Function AesEncrypt( _
   ByVal valueToEncrypt As String, _
   ByVal password As String _
) As String
'Usage
 
Dim valueToEncrypt As String
Dim password As String
Dim value As String
 
value = CryptoFns.AesEncrypt(valueToEncrypt, password)
public static string AesEncrypt( 
   string valueToEncrypt,
   string password
)

Parameters

valueToEncrypt
password
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CryptoFns Class
CryptoFns Members

Send Feedback