Package tv.hd3g.authkit.mod.service
Interface CipherService
-
- All Known Implementing Classes:
CipherServiceImpl
public interface CipherService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]cipherFromData(byte[] clearData)byte[]cipherFromString(String text)StringcomputeSHA3FromString(String text)RandomgetSecureRandom()byte[]unCipherToData(byte[] rawData)StringunCipherToString(byte[] rawData)
-
-
-
Method Detail
-
getSecureRandom
Random getSecureRandom()
-
cipherFromString
byte[] cipherFromString(String text)
-
unCipherToString
String unCipherToString(byte[] rawData)
-
cipherFromData
byte[] cipherFromData(byte[] clearData)
- Parameters:
clearData- will be wipe after call.
-
unCipherToData
byte[] unCipherToData(byte[] rawData)
-
-