Skip to content

Implementation of the SHA-1 hashing algorithm in Javascript

Notifications You must be signed in to change notification settings

sbwheeler/SHA-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SHA-1

Implementation of the SHA-1 hashing function in Javascript with a command line interface for hashing inputs.

Installation

  1. run npm install
  2. run node main.js
  3. input any text to see its SHA-1 hash value output

Purpose

A concise and thoroughly commented implementation of the SHA-1 hashing function in Javascript that should be relatively easy to follow along with. There are associated test specs that were used primarily in developing the utils module, as well as several test specs to check the final implementation of the SHA-1 function. These specs as well as the comments could be used as a rough guide to create one's own implementation of SHA-1. This implementation was not coded with efficiency in mind and is not the most effective implementation of SHA-1, nor should it be used for any security purposes.

Resources

About

Implementation of the SHA-1 hashing algorithm in Javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published