Interface EncryptionModule
- All Known Implementing Classes:
PassthroughEncryptionModule
public interface EncryptionModule
Basic extension point for modules handling encryption.
-
Method Summary
-
Method Details
-
encrypt
Encrypt a text string- Parameters:
plainText
-- Returns:
-
decrypt
Decrypt a encrypted string- Parameters:
cipherText
-- Returns:
-
matches
Check to see if a text string matches a generated encrypted token. This is useful for encoders that always generate a unique hash.- Parameters:
raw
-encrypted
-- Returns:
-