Interface ITranslationStudioSecuritySpecialist
-
public interface ITranslationStudioSecuritySpecialist
- Author:
- Phillip Austerfield (phillip.austerfield@idmedia.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
calculateHashFromInput(String sInput, String sPassword)
Create a hash from an inputString
decrypt(String sInput, String sSecretKey)
Decrypt a given input with a keyString
encrypt(String sInput, String sSecretKey)
Encrypt a given input with a key
-
-
-
Method Detail
-
encrypt
@NotNull String encrypt(String sInput, String sSecretKey)
Encrypt a given input with a key- Parameters:
sInput
-sSecretKey
-- Returns:
- Encrypted String or empty string on error
-
decrypt
@NotNull String decrypt(String sInput, String sSecretKey)
Decrypt a given input with a key- Parameters:
sInput
-sSecretKey
-- Returns:
- Decrypted String or empty string on error
-
-