Cipher

abstract class Cipher : Cryptography

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract fun decode(data: ByteArray): ByteArray
Link copied to clipboard
fun decodeFromHex(data: String, format: HexFormat = HexFormat.Default): ByteArray
Link copied to clipboard
fun decodeFromHexToString(data: String, format: HexFormat = HexFormat.Default): String
Link copied to clipboard
Link copied to clipboard
abstract fun encode(data: ByteArray): ByteArray
fun encode(data: String): ByteArray
Link copied to clipboard
fun encodeToHex(data: ByteArray, format: HexFormat = HexFormat.Default): String
fun encodeToHex(data: String, format: HexFormat = HexFormat.Default): String