trixnity-crypto
3.2.0
common
jvm
native
trixnity-crypto
/
net.folivo.trixnity.crypto
/
Sha256ByteFlow
Sha256Byte
Flow
data
class
Sha256ByteFlow
(
content
:
ByteFlow
,
val
hash
:
StateFlow
<
String
?
>
)
:
Flow
<
Byte
>
Constructors
Functions
Properties
Extensions
Constructors
Sha256Byte
Flow
Link copied to clipboard
fun
Sha256ByteFlow
(
content
:
ByteFlow
,
hash
:
StateFlow
<
String
?
>
)
Functions
collect
Link copied to clipboard
open
suspend override
fun
collect
(
collector
:
FlowCollector
<
Byte
>
)
Properties
hash
Link copied to clipboard
val
hash
:
StateFlow
<
String
?
>
Extensions
decrypt
Aes256Ctr
Link copied to clipboard
common
jvm
native
expect
fun
ByteFlow
.
decryptAes256Ctr
(
key
:
ByteArray
,
initialisationVector
:
ByteArray
)
:
ByteFlow
actual
fun
ByteFlow
.
decryptAes256Ctr
(
key
:
ByteArray
,
initialisationVector
:
ByteArray
)
:
ByteFlow
actual
fun
ByteFlow
.
decryptAes256Ctr
(
key
:
ByteArray
,
initialisationVector
:
ByteArray
)
:
ByteFlow
encrypt
Aes256Ctr
Link copied to clipboard
common
jvm
native
expect
fun
ByteFlow
.
encryptAes256Ctr
(
key
:
ByteArray
,
initialisationVector
:
ByteArray
)
:
ByteFlow
actual
fun
ByteFlow
.
encryptAes256Ctr
(
key
:
ByteArray
,
initialisationVector
:
ByteArray
)
:
ByteFlow
actual
fun
ByteFlow
.
encryptAes256Ctr
(
key
:
ByteArray
,
initialisationVector
:
ByteArray
)
:
ByteFlow
sha256
Link copied to clipboard
common
jvm
native
expect
fun
ByteFlow
.
sha256
(
)
:
Sha256ByteFlow
actual
fun
ByteFlow
.
sha256
(
)
:
Sha256ByteFlow
actual
fun
ByteFlow
.
sha256
(
)
:
Sha256ByteFlow