FROST Core TypeScript Library - v0.2.2-alpha.3
    Preparing search index...

    Class Sigma<C>

    A sigma value which is the output of step 2 of RTS.

    Type Parameters

    Index

    Constructors

    Methods

    • Get the inner scalar value.

      Returns C["Scalar"]

      The scalar value

    • Deserialize from bytes.

      Type Parameters

      Parameters

      • ciphersuite: C

        The ciphersuite to use

      • bytes: Uint8Array

        Serialized bytes

      Returns Sigma<C>

      The deserialized Sigma

      If deserialization fails

    • Serialize to bytes.

      Returns Uint8Array

      Serialized bytes

    • Check equality with another Sigma.

      Parameters

      • other: Sigma<C>

        The other Sigma

      Returns boolean

      True if equal