• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class CryptographyProvider

Inheritance
System.Object
CryptographyProvider
Implements
ICryptographyProvider
Namespace: DotNetNuke.Services.Cryptography
Assembly: DotNetNuke.dll
Syntax
public abstract class CryptographyProvider : object, ICryptographyProvider

Methods

| Improve this Doc View Source

DecryptParameter(String, String)

simple method that uses basic encryption to safely decode parameters.

Declaration
public abstract string DecryptParameter(string message, string passphrase)
Parameters
Type Name Description
System.String message

the text to be decrypted (decoded).

System.String passphrase

the key to perform the decryption.

Returns
Type Description
System.String

decrypted string.

| Improve this Doc View Source

DecryptString(String, String)

safely decrypt sensitive data.

Declaration
public abstract string DecryptString(string message, string passphrase)
Parameters
Type Name Description
System.String message

the text to be decrypted.

System.String passphrase

the key to perform the decryption.

Returns
Type Description
System.String

decrypted string.

| Improve this Doc View Source

EncryptParameter(String, String)

simple method that uses basic encryption to safely encode parameters.

Declaration
public abstract string EncryptParameter(string message, string passphrase)
Parameters
Type Name Description
System.String message

the text to be encrypted (encoded).

System.String passphrase

the key to perform the encryption.

Returns
Type Description
System.String

encrypted string.

| Improve this Doc View Source

EncryptString(String, String)

safely encrypt sensitive data.

Declaration
public abstract string EncryptString(string message, string passphrase)
Parameters
Type Name Description
System.String message

the text to be encrypted.

System.String passphrase

the key to perform the encryption.

Returns
Type Description
System.String

encrypted string.

| Improve this Doc View Source

Instance()

Declaration
public static CryptographyProvider Instance()
Returns
Type Description
CryptographyProvider

Implements

ICryptographyProvider

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS