Acrobits SDK
Toggle table of contents
26.1.0
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Acrobits SDK
Commons
/
cz.acrobits.commons.util
/
HashUtil
Hash
Util
class
HashUtil
Members
Types
Algorithm
Link copied to clipboard
enum
Algorithm
Functions
get
Digest
Link copied to clipboard
@
NonNull
open
fun
getDigest
(
algorithm
:
HashUtil.Algorithm
)
:
MessageDigest
hash
Link copied to clipboard
@
NonNull
open
fun
hash
(
algorithm
:
HashUtil.Algorithm
,
bytes
:
Array
<
Byte
>
)
:
Array
<
Byte
>
@
NonNull
open
fun
hash
(
algorithm
:
HashUtil.Algorithm
,
buffer
:
ByteBuffer
)
:
Array
<
Byte
>
hash
To
Hex
String
Lower
Link copied to clipboard
@
NonNull
open
fun
hashToHexStringLower
(
algorithm
:
HashUtil.Algorithm
,
bytes
:
Array
<
Byte
>
)
:
String
@
NonNull
open
fun
hashToHexStringLower
(
algorithm
:
HashUtil.Algorithm
,
buffer
:
ByteBuffer
)
:
String
hash
To
Hex
String
Upper
Link copied to clipboard
@
NonNull
open
fun
hashToHexStringUpper
(
algorithm
:
HashUtil.Algorithm
,
bytes
:
Array
<
Byte
>
)
:
String
@
NonNull
open
fun
hashToHexStringUpper
(
algorithm
:
HashUtil.Algorithm
,
buffer
:
ByteBuffer
)
:
String