jedisct1/swift-sodium

Convert Ed25519ToCurve25519

iospaveldev opened this issue · 2 comments

Hi! I in Java we can use lazySodium.convertPublicKeyEd25519ToCurve25519 and lazySodium.convertSecretKeyEd25519ToCurve25519.
How I can do this in Swift with Sodium?
Thanks!

This function doesn't exist. But the keypairFromSeed method exists both for signature keys and encryption keys, so you can derive both from the same seed.

This function doesn't exist. But the keypairFromSeed method exists both for signature keys and encryption keys, so you can derive both from the same seed.

Thanks!