AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

Encryption..::..Decrypt Method

A light weight decryption that decrypts specified value using Rijndael and a static salt. For stronger encryption with initialization vectors use Encryption.RijndaelEncryption.Decrypt or Encryption.AESEncryption.Decrypt instead.

Namespace:  AdvantageCMS.Core.Common
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public static string Decrypt(
	string value,
	string key
)

Parameters

value
Type: String
The value to be decrypted.
key
Type: String
The key for decryption.

Return Value

System.String.

Exceptions


ExceptionCondition
eCMSEngineEventStatus..::..ExceptionThere was an error decrypting the data.