Structure
EdDSACurve
A struct representing an Elliptic Curve used in EdDSA (Edwards-curve Digital Signature Algorithm).
struct EdDSACurve
Overview
EdDSACurve encapsulates different types of elliptic curves specifically used in EdDSA cryptographic operations. It allows for representing and working with EdDSA curves. The struct provides a static property for the Ed25519 curve, a widely used curve known for its balance of security and efficiency. This makes EdDSACurve suitable for operations requiring Ed25519, such as generating digital signatures or key pairs.
Topics
Initializers
init(from:)Creates a new instance by decoding from the given decoder.init(rawValue:)Creates a new instance with the specified raw value.
Instance Properties
rawValueTextual representation of the curve.
Instance Methods
encode(to:)Encodes this value into the given encoder.
Type Properties
ed25519Represents the Ed25519 curve.
Relationships
Conforms To
Swift.DecodableSwift.EncodableSwift.EquatableSwift.RawRepresentableSwift.SendableSwift.SendableMetatype