All Projects → kikito → sha1.lua

kikito / sha1.lua

Licence: MIT License
(Deprecated Repo) SHA-1 secure hash computation, and HMAC-SHA1 signature computation in Lua (5.1)

Programming Languages

lua
6591 projects

Projects that are alternatives of or similar to sha1.lua

fhash
fHash - an open source files hash calculator for Windows and macOS
Stars: ✭ 222 (+208.33%)
Mutual labels:  sha1
veye-checker
This projects creates SHA values for locale binaries - Shazam for packages.
Stars: ✭ 22 (-69.44%)
Mutual labels:  sha1
finance-qa-spider
金融问答平台文本数据采集/爬取,数据源涉及上交所,深交所,全景网及新浪股吧
Stars: ✭ 33 (-54.17%)
Mutual labels:  deprecated-repo
inmetr
DEPRECATED A R-package to Import Historical Data from Brazilian Meteorological Stations
Stars: ✭ 18 (-75%)
Mutual labels:  deprecated-repo
SHA.jl
A performant, 100% native-julia SHA1, SHA2, and SHA3 implementation
Stars: ✭ 35 (-51.39%)
Mutual labels:  sha1
hash-wasm
Lightning fast hash functions using hand-tuned WebAssembly binaries
Stars: ✭ 382 (+430.56%)
Mutual labels:  sha1
rsa aes md5
RSA(SHA1withRSA/pem私钥0/crt证书公钥) + AES(256/AES/CBC/PKCS5Padding)
Stars: ✭ 11 (-84.72%)
Mutual labels:  sha1
signet
Easily compare SHA/BLAKE2 sums.
Stars: ✭ 13 (-81.94%)
Mutual labels:  sha1
Hashrat
Hashing tool supporting md5,sha1,sha256,sha512,whirlpool,jh and hmac versions of these. Includes recursive file hashing and other features.
Stars: ✭ 46 (-36.11%)
Mutual labels:  sha1
font-v
Font version string reporting and modification library + executable tool
Stars: ✭ 15 (-79.17%)
Mutual labels:  sha1
sublime-artisan
Sublime Text plugin to replace Laravel Artisan CLI (NO LONGER MAINTAINED)
Stars: ✭ 19 (-73.61%)
Mutual labels:  deprecated-repo
hash-checker
Fast and simple application that allows you to generate and compare hashes from files and text
Stars: ✭ 72 (+0%)
Mutual labels:  sha1
prestans
A WSGI compliant REST micro-framework.
Stars: ✭ 14 (-80.56%)
Mutual labels:  deprecated-repo
angular-crypto
angular-crypto provides standard and secure cryptographic algorithms for Angular.js with support for: MD5, SHA-1, SHA-256, RC4, Rabbit, AES, DES, PBKDF2, HMAC, OFB, CFB, CTR, CBC, Base64
Stars: ✭ 30 (-58.33%)
Mutual labels:  sha1
sha1-swift
SHA-1 implementation in Swift
Stars: ✭ 29 (-59.72%)
Mutual labels:  sha1
python-support.nvim
[DEPRECATED] use a single command :PythonSupportInit to initialize python support for neovim.
Stars: ✭ 25 (-65.28%)
Mutual labels:  deprecated-repo
hmac.nim
HMAC-SHA1 and HMAC-MD5 hashing in Nim
Stars: ✭ 13 (-81.94%)
Mutual labels:  sha1
Checksum
Checksum calculation extensions for Swift
Stars: ✭ 28 (-61.11%)
Mutual labels:  sha1
ReSign
A burp extender that recalculate signature value automatically after you modified request parameter value.
Stars: ✭ 52 (-27.78%)
Mutual labels:  sha1
hediye
Hash Generator & Cracker
Stars: ✭ 40 (-44.44%)
Mutual labels:  sha1

Deprecated Repo

I have stopped development on this library due to lack of interest and time.

Peter Melnichenko has graciously taken over development. His work can be seen on here:

I have also transfered my Luarocks rights for sha1 to him, and he'll be the one publishing them from now on.

This repo will remain on github for historical purposes.

sha1.lua

This pure-Lua module computes SHA-1 and HMAC-SHA1 signature computations in Lua 5.1.

Usage

local sha1 = require 'sha1'

local hash_as_hex   = sha1(message)            -- returns a hex string
local hash_as_data  = sha1.binary(message)     -- returns raw bytes

local hmac_as_hex   = sha1.hmac(key, message)        -- hex string
local hmac_as_data  = sha1.hmac_binary(key, message) -- raw bytes

Credits

This is a cleanup of an implementation by Eike Decker - http://cube3d.de/uploads/Main/sha1.txt,

Which in turn was based on an original implementation by Jeffrey Friedl - http://regex.info/blog/lua/sha1

The original algorithm is http://www.itl.nist.gov/fipspubs/fip180-1.htm

License

This version, as well as all the previous ones in which is based, are implemented under the MIT license (See license file for details).

Specs

The specs for this library are implemented with busted. In order to run them, install busted and then:

cd path/to/where/the/spec/folder/is
busted
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].