Structure
P256K.MuSig.NonceResult
The output of generate(secretKey:publicKey:msg32:extraInput32:): a public nonce to share with co-signers and a secret nonce to consume exactly once when signing.
- iOS 13.0+
- macCatalyst 13.0+
- macOS 10.15+
- tvOS 13.0+
- visionOS 1.0+
- watchOS 6.0+
@frozen struct NonceResult
Overview
This type is ~Copyable to prevent accidental duplication of the secret nonce. Copying the secret nonce bytes and using them twice would leak the signing key (nonce reuse).
Topics
Instance Properties