signMutableItem

fun signMutableItem(bencodedValue: ByteArray, salt: ByteArray, seq: Long, publicKey: ByteArray, secretKey: ByteArray): ByteArray

Produce an ed25519 signature over the canonical BEP-44 buffer. This is the port of signature sign_mutable_item(...). bencodedValue must be valid bencoding.