SSQLE  1.0
Simple SQL Editor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties
Public Member Functions | List of all members
SSQLE.TrivialCrypto Class Reference

Class used for trivial enryption and decryption of passwords, that are stored in memory and/or in settings file. More...

Inheritance diagram for SSQLE.TrivialCrypto:
SSQLE.ICrypto

Public Member Functions

string Decrypt (string str)
 Decrypts the str. More...
 
string Encrypt (string str)
 Encrypts the str. More...
 

Detailed Description

Class used for trivial enryption and decryption of passwords, that are stored in memory and/or in settings file.

This implementation uses trivial encryption using identity function. That is encypt(string) == string.

One can improve the implementation by using some third party library like OpenSSL.

Member Function Documentation

string SSQLE.TrivialCrypto.Decrypt ( string  str)

Decrypts the str.

Parameters
strString to decrypt.
Returns
Decrypted string.

Implements SSQLE.ICrypto.

string SSQLE.TrivialCrypto.Encrypt ( string  str)

Encrypts the str.

Parameters
strString to encrypt.
Returns
Encrypted string.

Implements SSQLE.ICrypto.


The documentation for this class was generated from the following file: