generateKeyImage

fun generateKeyImage(transactionPublicKey: ByteArray, privateViewKey: ByteArray, publicSpendKey: ByteArray, privateSpendKey: ByteArray, outputIndex: Long): KeyImage

Generates a signature from a hash and a secret key, and returns the result as a key image.

Author

Marcus Cvjeticanin

Since

0.2.0

Return

a key image containing the image and private ephemeral key.

Parameters

transactionPublicKey
index
publicSpendKey