Sphyrnidae Common Library  2.0.1
Shared Utilities/Library
Sphyrnidae.Common.Encryption.EncryptionNone Class Reference

Encrypts or decrypts a string. Note that this uses an encryption key stored in the environment More...

Inheritance diagram for Sphyrnidae.Common.Encryption.EncryptionNone:
Sphyrnidae.Common.Encryption.Algorithms.EncryptionAlgorithm Sphyrnidae.Common.Encryption.IEncryption

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

Detailed Description

Encrypts or decrypts a string. Note that this uses an encryption key stored in the environment

Member Function Documentation

◆ Decrypt()

override DecryptionResponse Sphyrnidae.Common.Encryption.EncryptionNone.Decrypt ( string  str)
virtual

Decrypts the given string

Implements Sphyrnidae.Common.Encryption.Algorithms.EncryptionAlgorithm.

◆ Encrypt()

override string Sphyrnidae.Common.Encryption.EncryptionNone.Encrypt ( string  str)
virtual

Encrypts the given string

Implements Sphyrnidae.Common.Encryption.Algorithms.EncryptionAlgorithm.

◆ Hash()

override byte [] Sphyrnidae.Common.Encryption.EncryptionNone.Hash ( string  str,
string  salt 
)
virtual

Performs hashing (1-way encryption) against the string using the given salt

Implements Sphyrnidae.Common.Encryption.Algorithms.EncryptionAlgorithm.

Property Documentation

◆ Id

override string Sphyrnidae.Common.Encryption.EncryptionNone.Id
get

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