Encrypt Method
See Also 
SourceCode.Security.Cryptography Namespace > IAsymmetricEncryptor Interface : Encrypt Method



plaintext

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Function Encrypt( _
   ByVal plaintext() As Byte _
) As Byte()
Visual Basic (Usage) Copy Code
Dim instance As IAsymmetricEncryptor
Dim plaintext() As Byte
Dim value() As Byte
 
value = instance.Encrypt(plaintext)
C#  
byte[] Encrypt( 
   byte[] plaintext
)
C++/CLI  
array<byte>^ Encrypt( 
   array<byte>^ plaintext
) 

Parameters

plaintext

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