SSQLE
1.0
Simple SQL Editor
|
Class used for trivial enryption and decryption of passwords, that are stored in memory and/or in settings file. More...
Public Member Functions | |
string | Decrypt (string str) |
Decrypts the str. More... | |
string | Encrypt (string str) |
Encrypts the str. More... | |
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.
string SSQLE.TrivialCrypto.Decrypt | ( | string | str | ) |
Decrypts the str.
str | String to decrypt. |
Implements SSQLE.ICrypto.
string SSQLE.TrivialCrypto.Encrypt | ( | string | str | ) |
Encrypts the str.
str | String to encrypt. |
Implements SSQLE.ICrypto.