detached

actual fun detached(message: UByteArray, secretKey: UByteArray): UByteArray

In detached mode, the signature is stored without attaching a copy of the original message to it. The sodiumJna.crypto_sign_detached() function signs the message m whose length is mlen bytes, using the secret key sk, and puts the signature into sig, which can be up to sodiumJna.crypto_sign_BYTES bytes long.

expect fun detached(message: UByteArray, secretKey: UByteArray): UByteArray

In detached mode, the signature is stored without attaching a copy of the original message to it. The crypto_sign_detached() function signs the message m whose length is mlen bytes, using the secret key sk, and puts the signature into sig, which can be up to crypto_sign_BYTES bytes long.

actual fun detached(message: UByteArray, secretKey: UByteArray): UByteArray

In detached mode, the signature is stored without attaching a copy of the original message to it. The crypto_sign_detached() function signs the message m whose length is mlen bytes, using the secret key sk, and puts the signature into sig, which can be up to crypto_sign_BYTES bytes long.

actual fun detached(message: UByteArray, secretKey: UByteArray): UByteArray

In detached mode, the signature is stored without attaching a copy of the original message to it. The sodiumJna.crypto_sign_detached() function signs the message m whose length is mlen bytes, using the secret key sk, and puts the signature into sig, which can be up to sodiumJna.crypto_sign_BYTES bytes long.

actual fun detached(message: UByteArray, secretKey: UByteArray): UByteArray

In detached mode, the signature is stored without attaching a copy of the original message to it. The crypto_sign_detached() function signs the message m whose length is mlen bytes, using the secret key sk, and puts the signature into sig, which can be up to crypto_sign_BYTES bytes long.

actual fun detached(message: UByteArray, secretKey: UByteArray): UByteArray

In detached mode, the signature is stored without attaching a copy of the original message to it. The crypto_sign_detached() function signs the message m whose length is mlen bytes, using the secret key sk, and puts the signature into sig, which can be up to crypto_sign_BYTES bytes long.

actual fun detached(message: UByteArray, secretKey: UByteArray): UByteArray

In detached mode, the signature is stored without attaching a copy of the original message to it. The crypto_sign_detached() function signs the message m whose length is mlen bytes, using the secret key sk, and puts the signature into sig, which can be up to crypto_sign_BYTES bytes long.