UNPKG

@eagleoutice/flowr-dev

Version:

Static Dataflow Analyzer and Program Slicer for the R Programming Language

15 lines (14 loc) 554 B
/** * Portable, streaming, non-cryptographic 64-bit hash (cyrb53), emitted as 16 hex chars. Feed it in * chunks with {@link update} (so callers can hash data larger than a single string) and read the result * with {@link digest}. Used for content/update detection where a stable, fast digest is enough; browser-safe * (no node `crypto`, so it also works in the bundled/web build). * * cyrb53 is a public-domain hash by `bryc`. */ export declare class Hash53 { private h1; private h2; update(str: string): this; digest(): string; }