![]() |
Sphyrnidae Common Library
2.0.1
Shared Utilities/Library
|
Encrypts or decrypts a string. Note that this uses an encryption key stored in the environment More...
Public Member Functions | |
| override byte[] | Hash (string str, string salt) |
| Performs hashing (1-way encryption) against the string using the given salt More... | |
| override string | Encrypt (string str) |
| Encrypts the given string More... | |
| override DecryptionResponse | Decrypt (string str) |
| Decrypts the given string More... | |
Public Member Functions inherited from Sphyrnidae.Common.Encryption.Algorithms.EncryptionAlgorithm | |
| bool | HashMatch (string str, string salt, byte[] hash) |
| Determines if the hashed string is the same as what was provided (eg. passwords match) More... | |
Properties | |
| override string | Id [get] |
Properties inherited from Sphyrnidae.Common.Encryption.Algorithms.EncryptionAlgorithm | |
| abstract string | Id [get] |
| The unique ID of the algorithm More... | |
Encrypts or decrypts a string. Note that this uses an encryption key stored in the environment
|
virtual |
Decrypts the given string
Implements Sphyrnidae.Common.Encryption.Algorithms.EncryptionAlgorithm.
|
virtual |
Encrypts the given string
Implements Sphyrnidae.Common.Encryption.Algorithms.EncryptionAlgorithm.
|
virtual |
Performs hashing (1-way encryption) against the string using the given salt
Implements Sphyrnidae.Common.Encryption.Algorithms.EncryptionAlgorithm.
|
get |