Sha256: 82b9a7d31a455f2832b376b9c1ac975d8d84e433604d74b1820b0e3a78d41425

Contents?: true

Size: 1003 Bytes

Versions: 4

Compression:

Stored size: 1003 Bytes

Contents

# RC4

RC4 is a pure Ruby implementation of the Rc4 algorithm.


## Usage

First require the gem:

    require 'rc4' 

To encrypt:

    key = "nuff rspec"
    enc = RC4.new(key)
    encrypted = enc.encrypt("super-cool-test")

To decrypt:

    dec = RC4.new(key)
    decrypted = dec.decrypt(encrypted)

Since encrypt method is used for encryption and decryption, decrypt is
just an alias to encrypt in order to make the usage more intuitive.

# Note

The original algorithm implementation in Ruby by Max Prokopiev
<max-prokopiev@yandex.ru>.

Aleksandar Simic then modified it to include a test suite and gem
packaged it using gem-this.
<asimic@gmail.com>


I switched the project to use rspec2 and am the now the project's primary maintainer.

Caige Nichols <caigesn@gmail.com>

# License

Ruby-RC4 is released under the MIT license.

# Contributors

(Please let me know if I missed anyone)

- [caiges](http://github.com/caiges)
- [juggler](http://github.com/juggler) (original author)
- Alexandar Simic

Version data entries

4 entries across 3 versions & 2 rubygems

Version Path
embulk-input-druginfo_interview_form-0.1.0 vendor/bundle/ruby/2.4.0/gems/ruby-rc4-0.1.5/README.md
embulk-input-druginfo_interview_form-0.1.0 vendor/bundle/ruby/2.5.0/gems/ruby-rc4-0.1.5/README.md
ruby-rc4-0.1.5 README.md
ruby-rc4-0.1.4 README.md