Registry / crypto / ruby-mcrypt

ruby-mcrypt

JSON →
library0.2.0rbrubygemsunverified

Ruby-language bindings for libmcrypt, providing symmetric encryption with various ciphers and modes.

gem install ruby-mcrypt
INSTALL
IMPORT
SIG · RUBY-MCRYPT
R
ruby-mcrypt
cryptorubyv0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Mcrypt
require 'mcrypt'

Encrypt data using Twofish in CBC mode

require 'mcrypt' crypto = Mcrypt.new(:twofish, :cbc, 'mykey1234567890ab', 'myiv1234567890ab', :pkcs) ciphertext = crypto.encrypt('plaintext')
Debug
Known issues
gotchaRequires libmcrypt system library to be installed
fix
Install libmcrypt-dev (Ubuntu) or equivalent before installing the gem
affects: >= 0.1.0
Upgrade
Version history
0.2.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
16
Amazon
1
Resources
ruby-mcrypt — gem install ruby-mcrypt · libregistry