near-api-js - v7.4.0
    Preparing search index...

    Function assertValidExpandedMLDSA65

    • Checks an expanded ML-DSA-65 private key against FIPS 204 Algorithm 6. Every coefficient of s1 and s2 must lie in [-4, 4], and t0, t1 and tr must equal the values recomputed from rho, s1 and s2. Throws when the key is malformed.

      Parameters

      • secretKey: Uint8Array
      • publicKey: Uint8Array

      Returns void