Socket
Socket
Sign inDemoInstall

crypto-hash-keccak

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    crypto-hash-keccak

A pure JavaScript implementation of the Keccak hash algorithm.


Version published
Maintainers
1
Install size
21.3 kB
Created

Readme

Source

Keccak.js

This repository is a pure JavaScript implementation of the Keccak (SHA3) algorithm.

Installing

Via npm:

$ npm install crypto-hash-keccak

Via yarn:

$ yarn add crypto-hash-keccak

Usage

const Keccak = require('crypto-hash-keccak');

const hash = new Keccak(256);

hash.update('Hello, world!');

hash.digest('hex');
// "b6e16d27ac5ab427a7f68900ac5559ce272dc6c37c82b3e052246c82244c50e4"

Disclaimer

The Keccak sponge function was designed by:

  • Guido Bertoni
  • Joan Daemen
  • Michaël Peeters
  • Gilles Van Assche

For more information, feedback or questions, please refer to the official website.

FAQs

Last updated on 28 Apr 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc