EncryptionUtils

object EncryptionUtils

Functions

decrypt
Link copied to clipboard
fun decrypt(data: String): String
encrypt
Link copied to clipboard
fun encrypt(data: String): String
generateOTP
Link copied to clipboard
fun generateOTP(decryptedSecret: String, digits: Int, period: Int, algorithm: String, date: Date = Date()): String
stringToAlgorithm
Link copied to clipboard
fun stringToAlgorithm(algorithm: String): HmacAlgorithm?