Initializer
init(backing:)
Creates an
MLDSA.PrivateKey instance using the provided private key.init(backing: some MLDSAPrivateKey)
Parameters
backingThe SwiftCrypto private key.
Discussion
This init constructs an MLDSA.PrivateKey based on the corresponding SwiftCrypto private key, such as MLDSA65.PrivateKey or MLDSA87.PrivateKey.