CipherUtils

open class CipherUtils

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
open fun decrypt(encrypted: String, algorithm: String, secretKey: SecretKey): String
Link copied to clipboard
open fun encrypt(plain: String, algorithm: String, secretKey: SecretKey): String
Link copied to clipboard
Link copied to clipboard
open fun toBytes(chars: Array<Char>): Array<Byte>
Link copied to clipboard
open fun toChars(bytes: Array<Byte>): Array<Char>