Crypto Lib
    Preparing search index...

    Function createRegistrationResponse

    • CreateRegistrationResponse (RFC 9807 § 5.2.2): evaluate the OPRF on the blinded password with the credential's OPRF key.

      Parameters

      • request: RegistrationRequest

        The client's RegistrationRequest.

      • serverPublicKey: Uint8Array

        The server's AKE public key.

      • credentialIdentifier: string | Uint8Array<ArrayBufferLike>

        Unique identifier for this credential.

      • oprfSeed: Uint8Array

        The server's oprf_seed.

      • config: OpaqueConfig = {}

        Shared configuration.

      Returns RegistrationResponse

      CryptoError or Error if the blinded element is invalid.