Click or drag to resize

Cryptography Class

Manage a generic cryptography.
Inheritance Hierarchy
SystemObject
  AskiaPortalCmn.SecurityCryptography

Namespace:  AskiaPortalCmn.Security
Assembly:  AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax
public static class Cryptography

The Cryptography type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCode exampleDecrypt(String, String)
Decrypt the specified string value with the specified password, using the AesManaged algorithm.
Public methodStatic memberCode exampleDecryptT(String, String)
Decrypt the specified string value with the specified password, using a SymmetricAlgorithm
Public methodStatic memberCode exampleDecryptDictionary(String, String)
Decrypt the specified value to a dictionary with the specified password, using the AesManaged algorithm.
Public methodStatic memberCode exampleDecryptDictionaryT(String, String)
Decrypt the specified dictionary value with the specified password, using a SymmetricAlgorithm.
Public methodStatic memberCode exampleEncrypt(String, String)
Encrypt the specified string value with the specified password, using the AesManaged algorithm.
Public methodStatic memberCode exampleEncryptT(String, String)
Encrypt the specified string value with the specified password, using a SymmetricAlgorithm.
Public methodStatic memberCode exampleEncryptDictionary(IDictionaryString, String, String)
Encrypt the specified dictionary value with the specified password, using the AesManaged algorithm.
Public methodStatic memberCode exampleEncryptDictionaryT(IDictionaryString, String, String)
Encrypt the specified dictionary value with the specified password, using a SymmetricAlgorithm.
Public methodStatic memberHash
Standard Hash algorithm.
Top
Remarks
This code was inspired from a StackOverflow exchange: http://stackoverflow.com/a/14286740/2134982
See Also