Latest Socket ResearchMalicious Chrome Extension Performs Hidden Affiliate Hijacking.Details
Socket
Book a DemoInstallSign in
Socket

@rvagg/ripemd160

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rvagg/ripemd160

Browser-friendly ripemd160 hasher

latest
Source
npmnpm
Version
2.2.4
Version published
Weekly downloads
3.5K
-22.46%
Maintainers
1
Weekly downloads
 
Created
Source

@rvagg/ripemd160

Browser-safe ripemd160 for JavaScript.

This project is a fork of https://github.com/crypto-browserify/ripemd160 (and its parent, https://github.com/crypto-browserify/hash-base) but it:

  • Adds TypeScript types exports
  • Operates natively on Uint8Arrays
  • Has no dependencies, even in the browser (i.e. no Buffer)
  • Does not handle streaming operations (i.e. just use update() and digest())

Example

var RIPEMD160 = require('ripemd160')

console.log(new RIPEMD160().update('42').digest('hex'))
// => 0df020ba32aa9b8b904471ff582ce6b579bf8bc8

MIT

Copyright (c) 2016 crypto-browserify Copyright (c) 2022 Rod Vagg

Keywords

string

FAQs

Package last updated on 06 Jan 2023

Did you know?

Socket

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