DevForce Help Reference
AesEncrypt(String,String,Boolean) Method


Encrypts a string given a password.
Syntax
'Declaration
 
Public Overloads Function AesEncrypt( _
   ByVal valueToEncrypt As String, _
   ByVal password As String, _
   ByVal fipsCompliant As Boolean _
) As String
'Usage
 
Dim instance As AesCryptoProvider
Dim valueToEncrypt As String
Dim password As String
Dim fipsCompliant As Boolean
Dim value As String
 
value = instance.AesEncrypt(valueToEncrypt, password, fipsCompliant)

Parameters

valueToEncrypt
password
fipsCompliant
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

AesCryptoProvider Class
AesCryptoProvider Members
Overload List

Send Feedback