Socket
Socket
Sign inDemoInstall

@energi/solsha1

Package Overview
Dependencies
1
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @energi/solsha1

[![License](https://img.shields.io/badge/License-BSD--3--Clause-blue.svg)](LICENSE)


Version published
Weekly downloads
1
Maintainers
3
Install size
1.48 MB
Created
Weekly downloads
 

Readme

Source

solsha1

License

Pure-solidity implementation of the SHA1 hash function, heavily optimised using inline-assembly.

Gas consumption is approximately 38,000 gas per 512 bit block.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Installing

solsha1 uses npm to manage dependencies, therefore the installation process is kept simple:

npm install

Running tests

solsha1 uses truffle for its ethereum development environment. All tests can be run using truffle:

truffle test

To run linting, use solium:

solium --dir ./contracts

Including solsha1 in your project

Installation

npm install buffer --save

Built With

  • Truffle - Ethereum development environment

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the BSD 3-clause "Simplified" License - see the LICENSE file for details

FAQs

Last updated on 16 Oct 2020

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