signData

expect fun signData(data: ByteArray, privateKey: String): ByteArray

Creates a signature of data using given key.

Return

Signature of data

Parameters

data

data the buffer to sign

privateKey

the key used to sign data

Throws

thrown when method encounters an exception

thrown when method encounters an unknown exception

actual fun signData(data: ByteArray, privateKey: String): ByteArray

Creates a signature of data using given key.

Return

Signature of data

Parameters

data

data the buffer to sign

privateKey

the key used to sign data

Throws

thrown when method encounters an exception

thrown when method encounters an unknown exception

actual external fun signData(data: ByteArray, privateKey: String): ByteArray

Creates a signature of data using given key.

Return

Signature of data

Parameters

data

data the buffer to sign

privateKey

the key used to sign data

Throws

thrown when method encounters an exception

thrown when method encounters an unknown exception