Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Initializer

init(backing:)

Creates an EdDSA.PrivateKey instance using the provided private key.
init(backing: Curve25519.Signing.PrivateKey)

Parameters

privateKey

The SwiftCrypto Curve25519.Signing.PrivateKey

Discussion

This init constructs an EdDSA.PrivateKey based on the corresponding SwiftCrypto Curve25519.Signing.PrivateKey.