Giter Club home page Giter Club logo

crypt3's People

Contributors

sowawa avatar trans avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

crypt3's Issues

Translate digest lib from C to Ruby

If the time was taken to translate the digest lib from C to pure Ruby, then this library would have no C-based dependencies left, which could be useful to other Ruby implementations besides MRI.

However, looking at the C code for digest I admit this is not a task for the faint of heart.

Not really pure ruby?

It got my hopes up, but I have to respectfully disagree that this is pure ruby. Most of the hashing methods require digest, which is a relatively thin wrapper around a bunch of C extensions, e.g.:

$ head -3 /usr/lib/ruby/1.8/digest.rb

require 'digest.so'

module Digest

Mention in readme that gem facets is needed

I think you should mention in the readme that you need (or was it only me?) facets as well.

Without facets gem installed:

>> require 'rubygems'
=> false
>> require 'crypt3'
LoadError: no such file to load -- facets/string/xor.rb
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
    from /Users/dentarg/.gem/ruby/1.8/gems/crypt3-1.1.0/lib/crypt3.rb:36
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
    from (irb):4

After doing gem install facets I had better luck:

>> require 'rubygems'
=> false
>> require 'crypt3'
=> true
>> Crypt3.crypt('pass')
=> "$1$qEfNSNGZ$jRUCV6eauhk5SUFDWHgv8/"

New Maintainer Wanted

I'm have my doubts anyone is using the gem. So unless someone would like to take it over, I am going to deprecate it at the start of the new year.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.