ed25519SkToSeed

actual fun ed25519SkToSeed(secretKey: UByteArray): UByteArray

The secret key actually includes the seed (either a random seed or the one given to sodiumJna.crypto_sign_seed_keypair()) as well as the public key. While the public key can always be derived from the seed, the precomputation saves a significant amount of CPU cycles when signing.

expect fun ed25519SkToSeed(secretKey: UByteArray): UByteArray

The secret key actually includes the seed (either a random seed or the one given to crypto_sign_seed_keypair()) as well as the public key. While the public key can always be derived from the seed, the precomputation saves a significant amount of CPU cycles when signing.

actual fun ed25519SkToSeed(secretKey: UByteArray): UByteArray

The secret key actually includes the seed (either a random seed or the one given to crypto_sign_seed_keypair()) as well as the public key. While the public key can always be derived from the seed, the precomputation saves a significant amount of CPU cycles when signing.

actual fun ed25519SkToSeed(secretKey: UByteArray): UByteArray

The secret key actually includes the seed (either a random seed or the one given to sodiumJna.crypto_sign_seed_keypair()) as well as the public key. While the public key can always be derived from the seed, the precomputation saves a significant amount of CPU cycles when signing.

actual fun ed25519SkToSeed(secretKey: UByteArray): UByteArray

The secret key actually includes the seed (either a random seed or the one given to crypto_sign_seed_keypair()) as well as the public key. While the public key can always be derived from the seed, the precomputation saves a significant amount of CPU cycles when signing.

actual fun ed25519SkToSeed(secretKey: UByteArray): UByteArray

The secret key actually includes the seed (either a random seed or the one given to crypto_sign_seed_keypair()) as well as the public key. While the public key can always be derived from the seed, the precomputation saves a significant amount of CPU cycles when signing.

actual fun ed25519SkToSeed(secretKey: UByteArray): UByteArray

The secret key actually includes the seed (either a random seed or the one given to crypto_sign_seed_keypair()) as well as the public key. While the public key can always be derived from the seed, the precomputation saves a significant amount of CPU cycles when signing.