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

Interface ICryptographyProvider

Namespace: DotNetNuke.Services.Cryptography
Assembly: DotNetNuke.dll
Syntax
public interface ICryptographyProvider

Methods

| Improve this Doc View Source

DecryptParameter(String, String)

simple method that uses basic encryption to safely decode parameters.

Declaration
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
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
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
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.

Extension Methods

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