Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hashpump-rb

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hashpump-rb

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

HashPump-rb

A extension library to use HashPump(https://github.com/bwall/HashPump) from Ruby

Installation

$ git submodule init
$ git submodule update
$ rake build
$ rake install

Example

require 'digest/md5'
require 'hashpump'

new_signature, data = HashPump::hashpump(Digest::MD5.hexdigest('unknown' + 'hoge'), 'hoge', 'append_data', 7)
p new_signature == Digest::MD5.hexdigest('unknown' + data)

Command Line Tool

$ hashpump-rb --signature 900150983cd24fb0d6963f7d28e17f72 --data bc --additional hoge --keylength 1
1e03f6cf2ef653b49b0043b07c5675f8
626380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001800000000000000686f6765

FAQs

Package last updated on 03 Oct 2016

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc