Share via


Key.Decrypt Method

Decrypts data in a specified byte array, starting at a specified offset and decrypting a specified amount of data.

Namespace: Microsoft.SPOT.Cryptography
Assembly: Microsoft.SPOT.Native (in microsoft.spot.native.dll)

Syntax

public virtual abstract byte [] Decrypt (
         byte[] data,
         intoffset,
         intcount,
         byte[] IV
)

Parameters

  • data
    The byte array that contains the data to be decrypted.
  • offset
    An offset into the specified byte array, locating the start of the data to be decrypted.
  • count
    The number of bytes of data to be decrypted, starting from the specified offset.
  • IV
    The initialization vector. You use this parameter to decrypt the first block of data in a cipher block chain.

Return Value

The specified byte array containing decrypted data.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

Key Class
Key Members
Microsoft.SPOT.Cryptography Namespace