Project

kryptonita

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Kryptonita is a Ruby gem that provides a lot of functions for hashing, encrypt and decrypt.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.7
~> 10.0
~> 3.1.0
 Project Readme

Kryptonita Gem Version Code Climate Test Coverage

Kryptonita is a Ruby gem that provides a lot of functions for hashing, encrypt and decrypt

Installation

Add this line to your application's Gemfile:

gem 'kryptonita'

And then execute:

$ bundle

Or install it yourself as:

$ gem install kryptonita

Usage

require 'kryptonita'

puts Kryptonita::Hash.whirlpool("ruby")
# => "95fc6a05b1edd849a202d9cdb1158930cf1e101900357a8816b743520710be2487c890c3bfb2b70f2308f7e8737473a477bb44950516c23e53a2993091faa9d2"

Implemented methods

Kryptonita::Hash.md5(str)
Kryptonita::Hash.md5(str, salt: 'mysalt')
Kryptonita::Hash.sha1(str)
Kryptonita::Hash.sha512(str)
Kryptonita::Hash.whirlpool(str)

Contributing

  1. Fork it ( https://github.com/AngoDev/kryptonita/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request