Compartilhar via


GeneralFunctions.DecryptStringFromBytes Method

Decrypts the given text using symmetric Rijndael algorithm.

Namespace: Microsoft.Uii.Common
Assembly: Microsoft.Uii.Common (in Microsoft.Uii.Common.dll)

Usage

'Usage
Dim cipherText As Byte()
Dim Key As Byte()
Dim IV As Byte()
Dim returnValue As String

returnValue = GeneralFunctions.DecryptStringFromBytes(cipherText, Key, IV)

Syntax

'Declaration
<ObsoleteAttribute("This method has been deprecated.", True)> _
Public Shared Function DecryptStringFromBytes ( _
    cipherText As Byte(), _
    Key As Byte(), _
    IV As Byte() _
) As String
[ObsoleteAttribute("This method has been deprecated.", true)] 
public static string DecryptStringFromBytes (
    byte[] cipherText,
    byte[] Key,
    byte[] IV
)
[ObsoleteAttribute(L"This method has been deprecated.", true)] 
public:
static String^ DecryptStringFromBytes (
    array<unsigned char>^ cipherText, 
    array<unsigned char>^ Key, 
    array<unsigned char>^ IV
)
/** @attribute ObsoleteAttribute("This method has been deprecated.", true) */ 
public static String DecryptStringFromBytes (
    byte[] cipherText, 
    byte[] Key, 
    byte[] IV
)
ObsoleteAttribute("This method has been deprecated.", true) 
public static function DecryptStringFromBytes (
    cipherText : byte[], 
    Key : byte[], 
    IV : byte[]
) : String

Parameters

  • cipherText
    Specifies the text to be decrypted.
  • Key
    Specifeis the value of the key to be used for decryption.
  • IV
    Specifies the initialization Vector to be used for decryption

Return Value

Type: String
String representing decrypted form of cipher text

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

GeneralFunctions Class
GeneralFunctions Members
Microsoft.Uii.Common Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.