Crypto Lib
    Preparing search index...

    Function serverFinish

    • ServerFinish (RFC 9807 ยง 6.2.4): verify KE3 in constant time and release the session key. Treat a client that never sends KE3 as a failed login.

      Parameters

      Returns Uint8Array

      The session key, equal to the client's.

      CryptoError OPAQUE_CLIENT_AUTHENTICATION if the client MAC does not verify or has the wrong length (wrong password, tampering, or an unknown user).