HashWasm.fixtures.ts overview

PHC strings that hash-wasm 4.13.0, the 0.1.x backend, wrote with fixed salts, committed so the tests prove those hashes still verify and that the kernel derives the same strings. Test-only.


Exports Grouped by Category


utils

HashWasmFixture (interface)

PHC strings that hash-wasm 4.13.0, the 0.1.x backend, wrote with fixed salts, committed so the tests prove those hashes still verify and that the kernel derives the same strings. Test-only.

Signature

export interface HashWasmFixture {
  readonly label: string
  readonly password: string
  /** The salt hash-wasm was given, as ASCII. */
  readonly salt: string
  /**
   * Whether the kernel's `hash` can re-derive this string: argon2id, v=19,
   * 32-byte digest. The rest exercise `verify` only.
   */
  readonly derivable: boolean
  readonly hash: string
}

Source

hashWasmFixtures

Signature

declare const hashWasmFixtures: ReadonlyArray<HashWasmFixture>

Source


This site uses Just the Docs, a documentation theme for Jekyll.