Used to create commitment key for pseudonyms

Constructors

Methods

  • Parameters

    • base: Uint8Array

    Returns string

  • Parameters

    • encodedBaseForSecretKey: Uint8Array

    Returns string

  • Parameters

    • encodedBasesForAttributes: Uint8Array[]

    Returns string[]

  • Parameters

    • base: string

    Returns Uint8Array

  • Parameters

    • baseForSecretKey: string

    Returns Uint8Array

  • Parameters

    • basesForAttributes: string[]

    Returns Uint8Array[]

  • Public parameter created by the verifier

    Parameters

    • Optionalscope: Uint8Array

      A seed which is hashed to create the base. Each verifier should have a unique scope

    Returns Uint8Array

  • Public parameters created by the verifier

    Parameters

    • attributeCount: number
    • Optionalscope: Uint8Array

      A seed which is hashed to create the base. For attributes, the scope is suffixed with a counter. Each verifier should have a unique scope

    Returns Uint8Array[]