Key_RSA.Encrypt Method
Encrypts data from a specified byte array, starting at a specified offset and encrypting a specified amount of data.
Namespace: Microsoft.SPOT.Cryptography
Assembly: Microsoft.SPOT.Native (in microsoft.spot.native.dll)
Syntax
[MethodImplAttribute]
public override byte [] Encrypt (
byte[] data,
int offset,
int count,
byte[] IV
)
Parameters
- data
The byte array that contains the data to be encrypted. - offset
The offset into the specified byte array, locating the start of the data to be encrypted. - count
The number of bytes of data to be encrypted, starting from the specified offset. - IV
The initialization vector. You use this parameter to encrypt the first block of data in a cipher block chain.
Return Value
The specified byte array containing encrypted data.
Version Information
Available in .NET Micro Framework version 2.0, 2.5
See Also
Reference
Key_RSA Class
Key_RSA Members
Microsoft.SPOT.Cryptography Namespace