Package tv.hd3g.authkit.mod.service
Interface CipherService
- All Known Implementing Classes:
CipherServiceImpl
public interface CipherService
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]cipherFromData(byte[] clearData) byte[]cipherFromString(String text) computeSHA3FromString(String text) byte[]unCipherToData(byte[] rawData) unCipherToString(byte[] rawData)
-
Method Details
-
getSecureRandom
Random getSecureRandom() -
cipherFromString
-
unCipherToString
-
cipherFromData
byte[] cipherFromData(byte[] clearData) - Parameters:
clearData- will be wipe after call.
-
unCipherToData
byte[] unCipherToData(byte[] rawData) -
computeSHA3FromString
-