Skip to content
@drupflare/spool v1.0.0 GitHub
    Preparing search index...

    Function equalSecrets

    • compares two secrets through HMAC digests of equal length, so neither the value nor its length shows in the time taken

      Parameters

      • a: string
      • b: string

      Returns Promise<boolean>