Cuemon .NET Framework
Encrypt Method

The value to encrypt.
The key to use in the encryption algorithm.
The initialization vector (IV) to use in the encryption algorithm.
Encrypts the specified value from the provided key and initializationVector.
Syntax
'Declaration
 
Public Shared Function Encrypt( _
   ByVal value() As Byte, _
   ByVal key() As Byte, _
   ByVal initializationVector() As Byte _
) As Byte()
public static byte[] Encrypt( 
   byte[] value,
   byte[] key,
   byte[] initializationVector
)

Parameters

value
The value to encrypt.
key
The key to use in the encryption algorithm.
initializationVector
The initialization vector (IV) to use in the encryption algorithm.

Return Value

The encrypted value.
Requirements

Target Platforms: Windows 8, Windows Server 2012, 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

AdvancedEncryptionStandardUtility Class
AdvancedEncryptionStandardUtility Members

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback