Registry / crypto / ccrypto

ccrypto

JSON →
library0.2.0rbrubygemsunverified

Attempt to have a common crypto for Ruby and Java to take the selection decision out from the application development until further date.

gem install ccrypto
INSTALL
IMPORT
SIG · CCRYPTO
C
ccrypto
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.

Ccrypto
require 'ccrypto'

Encrypt data using a common crypto interface.

require 'ccrypto' cipher = Ccrypto::Cipher.new('aes-256-cbc') cipher.encrypt key = cipher.random_key iv = cipher.random_iv encrypted = cipher.update('data') + cipher.final
Debug
Known issues
breakingThis gem is experimental and may have breaking changes between versions.
fix
Pin to a specific version and test upgrades thoroughly.
affects: < 1.0.0
Upgrade
Version history
0.2.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
42 hits · last 30 days
node
38
Resources
ccrypto — gem install ccrypto · libregistry