Interface IEncryptionHelper
public interface IEncryptionHelper
Defines the interface of encryption helper, which includes two methods for
encryption and decryption.
-
Method Summary
-
Method Details
-
encrypt
Encrypts the given string, and returns the encrypted string.- Parameters:
string
- the string to encrypt- Returns:
- the encrypted string
-
decrypt
Decrypts the given encrypted string, and returns the original string.- Parameters:
string
- the string to decrypt- Returns:
- the original string
-