# string-hash-64

> fast 64 bit string hashing function

Latest version **1.0.3** (published 2017-08-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install string-hash-64
pnpm add string-hash-64
yarn add string-hash-64
bun add string-hash-64
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2017-08-22 |
| First published | 2017-08-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12 |
| Author | Mustafa Dokumacı |
| Maintainers | vapurfilozofu |
| Keywords | string, hashing, 64 bit |

## Links

- npm: https://www.npmjs.com/package/string-hash-64
- Repository: https://github.com/mstdokumaci/string-hash-64
- Homepage: https://github.com/mstdokumaci/string-hash-64#readme
- Issues: https://github.com/mstdokumaci/string-hash-64/issues
- npm.io page: https://npm.io/package/string-hash-64

## Alternatives

- [@gemini-wallet/core](https://npm.io/package/@gemini-wallet/core.md) — 515.6K weekly downloads
- [utility](https://npm.io/package/utility.md) — 416.6K weekly downloads
- [@primno/dpapi](https://npm.io/package/@primno/dpapi.md) — 7.2K weekly downloads
- [pi-readseek](https://npm.io/package/pi-readseek.md) — 3.7K weekly downloads
- [@emilia-protocol/verify](https://npm.io/package/@emilia-protocol/verify.md) — 1.1K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2017-08-22
- 1.0.2 — 2017-08-18
- 1.0.1 — 2017-08-17
- 1.0.0 — 2017-08-17

## README

# string-hash-64

[![Build Status](https://travis-ci.org/mstdokumaci/string-hash-64.svg?branch=master)](https://travis-ci.org/mstdokumaci/string-hash-64)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)
[![npm version](https://badge.fury.io/js/string-hash-64.svg)](https://badge.fury.io/js/string-hash-64)

An improved version of djb2. Generates 64 bit integer hashes. Returns a number between 0 and 18446744073709552000.

Repository includes test for hashing 65 million strings with zero collisions. That's 400k+ less than what you get with djb2.

Performs as fast as djb2, only the generated hashes will consume almost twice memory in size.

---
_Source: https://npm.io/package/string-hash-64 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
