Rachel
Toggle table of contents
3.7.2
common
Target filter
common
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.foundation.cryptography
/
love.yinlin.foundation.cryptography
/
Cipher
Cipher
abstract
class
Cipher
:
Cryptography
Inheritors
AES
RC4
XChaCha20
Members
Constructors
Cipher
Link copied to clipboard
constructor
(
)
Functions
decode
Link copied to clipboard
abstract
fun
decode
(
data
:
ByteArray
)
:
ByteArray
decode
From
Hex
Link copied to clipboard
fun
decodeFromHex
(
data
:
String
,
format
:
HexFormat
=
HexFormat.Default
)
:
ByteArray
decode
From
Hex
To
String
Link copied to clipboard
fun
decodeFromHexToString
(
data
:
String
,
format
:
HexFormat
=
HexFormat.Default
)
:
String
decode
To
String
Link copied to clipboard
fun
decodeToString
(
data
:
ByteArray
)
:
String
encode
Link copied to clipboard
abstract
fun
encode
(
data
:
ByteArray
)
:
ByteArray
fun
encode
(
data
:
String
)
:
ByteArray
encode
To
Hex
Link copied to clipboard
fun
encodeToHex
(
data
:
ByteArray
,
format
:
HexFormat
=
HexFormat.Default
)
:
String
fun
encodeToHex
(
data
:
String
,
format
:
HexFormat
=
HexFormat.Default
)
:
String