@ansdomain/solsha1

0.0.3 • Public • Published

solsha1

Build Status 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 2-clause "Simplified" License - see the LICENSE file for details

Readme

Keywords

none

Package Sidebar

Install

npm i @ansdomain/solsha1

Weekly Downloads

1

Version

0.0.3

License

none

Unpacked Size

408 kB

Total Files

20

Last publish

Collaborators

  • devilla
  • arbitrumdomains