hash.d.ts 318 B

1234567891011
  1. import { BrowserEncoding } from './encoding';
  2. /**
  3. * Hash returned from functions in the browser.
  4. */
  5. export declare class Hash extends Uint8Array {
  6. /**
  7. * A constant-time comparison against the other hash/array.
  8. */
  9. equals(other: unknown): boolean;
  10. toString(encoding?: BrowserEncoding): string;
  11. }