Skip to content

freder1c/sha512t

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sha512t

A simple sha512 and sha512/t implementation from FIPS PUB 180-4.

Installation

$ gem install sha512t

Usage

To use sha512t-gem in ruby-file, simply require it.

require 'sha512t'

To generate sha512 hash (returns hex-value as String)

Sha512.hash('yourString')

To genereate sha512/t hash (returns hex-value as String). For t, place an integer value which is a multiple of 8. The generated hash will be truncated to t bits.

Sha512t.hash('yourString', t)

About

A simple ruby sha512 and sha512/t hash generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages