Show / Hide Table of Contents

Class Encryption

Static class that will allow for a string to be encrypted and an existing encryption string decrypted back to original string

Inheritance
object
Encryption
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: FpAssistantCore.General
Assembly: FpAssistantCoreScl.dll
Syntax
public static class Encryption
Remarks

This class is not supported in the PCL library

Fields

View Source

iv

Declaration
public const string iv = "jvz8bUAx"
Field Value
Type Description
string
View Source

key

Declaration
public const string key = "cEvu4MHkqz7mQgeqmB6mQEXi"
Field Value
Type Description
string

Methods

View Source

CaesarCipher(string, int)

Declaration
public static string CaesarCipher(string inputString, int shiftOrUnshift)
Parameters
Type Name Description
string inputString
int shiftOrUnshift
Returns
Type Description
string
View Source

Decrypt(string)

Decrypts a string

Declaration
public static string Decrypt(string decrypt)
Parameters
Type Name Description
string decrypt

The string value to be decrypted back to the original string

Returns
Type Description
string

Decrypted string

View Source

Decrypt2(string, int)

Declaration
public static string Decrypt2(string decrypt, int CCaesarCipherKey)
Parameters
Type Name Description
string decrypt
int CCaesarCipherKey
Returns
Type Description
string
View Source

Encrypt(string)

Encrypts a string

Declaration
public static string Encrypt(string encrypt)
Parameters
Type Name Description
string encrypt

The string value to be encrypted

Returns
Type Description
string

Encrypted string

View Source

Encrypt2(string, int)

Declaration
public static string Encrypt2(string encrypt, int CCaesarCipherKey)
Parameters
Type Name Description
string encrypt
int CCaesarCipherKey
Returns
Type Description
string
  • View Source
In this article
Back to top Copyright 2018-2025 CADology Limited