Adding custom code blocks

This commit is contained in:
Ugljesa Jovanovic committed 2020-08-14 14:25:26 +02:00
1 parent a5b20daf5a
commit efe9661c30
11 files changed
+87 -27

No files matched your search

@@ -11,6 +11,11 @@ expect class GenericHashState
expect class SecretStreamState
data class SecretStreamStateAndHeader(
val state: SecretStreamState,
val header: UByteArray
)
expect class Crypto internal constructor() {
/**
* Initialize the SHA256 hash
@@ -31,9 +36,4 @@ expect class Crypto internal constructor() {
fun crypto_generichash_init(key: UByteArray, outlen: Int): GenericHashState
fun crypto_secretstream_xchacha20poly1305_init_push(key: UByteArray): UByteArray
data class SecretStreamStateAndHeader(
val state: SecretStreamState,
val header: UByteArray
)
}