-
Notifications
You must be signed in to change notification settings - Fork 2
maxprokopiev/ruby-rc4
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
== RubyRc4 RubyRc4 is a pure Ruby implementation of the Rc4 algorithm. == Using First, construct two new instances of RubyRc4 class: encryptor = RubyRc4.new('mysecret_key') decryptor = RubyRc4.new('mysecret_key') And encrypt any string you want: encrypted_data = encryptor.encrypt('secret_data') Or decrypt it: plain_text = decryptor.encrypt(encrypted_data) Also, you can use encrypt method destructively on the original string: s = 'secret string' encryptor.encrypt!(s) Finally, you can check equality if you want: plain_text.eql?('secret_data') == Shoes GUI Also library has Shoes GUI. You can find it in gui/main.rb == Feedback If you have any questions, suggestions or just want to talk, just send me email <[email protected]> . Enjoy!
About
RubyRc4 is a pure Ruby implementation of the Rc4 algorithm
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published