Initializer
init(backing:)
Creates an
EdDSA.PrivateKey instance using the provided private key.init(backing: Curve25519.Signing.PrivateKey)
Parameters
privateKeyThe SwiftCrypto
Curve25519.Signing.PrivateKey
Discussion
This init constructs an EdDSA.PrivateKey based on the corresponding SwiftCrypto Curve25519.Signing.PrivateKey.