toggle menu
cryptography-kotlin
0.4.0
common
switch theme
search in API
cryptography-core
/
dev.whyoleg.cryptography.operations
/
HashFunction
Hash
Function
interface
HashFunction
:
UpdateFunction
(
source
)
Members
Functions
close
Link copied to clipboard
expect
abstract
fun
close
(
)
hash
Link copied to clipboard
open
fun
hash
(
)
:
ByteString
hash
Into
Byte
Array
Link copied to clipboard
abstract
fun
hashIntoByteArray
(
destination
:
ByteArray
,
destinationOffset
:
Int
=
0
)
:
Int
hash
To
Byte
Array
Link copied to clipboard
abstract
fun
hashToByteArray
(
)
:
ByteArray
reset
Link copied to clipboard
abstract
fun
reset
(
)
update
Link copied to clipboard
open
fun
update
(
source
:
RawSource
)
abstract
fun
update
(
source
:
ByteArray
,
startIndex
:
Int
=
0
,
endIndex
:
Int
=
source.size
)
open
fun
update
(
source
:
ByteString
,
startIndex
:
Int
=
0
,
endIndex
:
Int
=
source.size
)
updating
Sink
Link copied to clipboard
open
fun
updatingSink
(
sink
:
RawSink
)
:
RawSink
updating
Source
Link copied to clipboard
open
fun
updatingSource
(
source
:
RawSource
)
:
RawSource