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
/
SHA3
SHA3
class
SHA3
(
type
:
SHA3.BitType
=
BitType.B256
)
:
ByteDigest
Members
Constructors
SHA3
Link copied to clipboard
constructor
(
type
:
SHA3.BitType
=
BitType.B256
)
Types
Bit
Type
Link copied to clipboard
enum class
BitType
:
Enum
<
SHA3.BitType
>
Functions
encode
Link copied to clipboard
fun
encode
(
data
:
String
)
:
ByteArray
open
override
fun
encode
(
data
:
ByteArray
)
:
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