Structures

The following structures are available globally.

  • There is no Base64 instances. Base64 exists to provide a namespace. It contains static functions for Base64 encoding and decoding.

    See more

    Declaration

    Swift

    public struct Base64
  • Point instances contain elliptic curve points.

    For points in a prime characteristic domain, the x-coordinate and y-coordinate are non-negative integers.

    For points in a characteristic 2 domain, the x-coordinate and y-coordinate are binary polynomials where the coefficients (0 or 1) are the bits of the x and y values.

    See more

    Declaration

    Swift

    public struct Point : CustomStringConvertible, Equatable
  • RP

    RP instances contain reduction polynomials like x^m + x^k3 + x^k2 + x^k1 + 1 where m > k3 > k2 > k1 > 0 or x^m + x^k1 + 1 where m > k1 > 0

    See more

    Declaration

    Swift

    public struct RP : CustomStringConvertible, Equatable