Registry / crypto / openssl-oaep

openssl-oaep

JSON →
library0.1.0rbrubygemsunverified

Minium extention to Ruby OpenSSL library to support OAEP with SHA2 and labels

gem install openssl-oaep
INSTALL
IMPORT
SIG · OPENSSL-OAEP
O
openssl-oaep
cryptorubyv0.1.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.

OpenSSL
require 'openssl-oaep'

Encrypt data using OAEP padding with SHA2

require 'openssl-oaep' key = OpenSSL::PKey::RSA.new(2048) cipher = OpenSSL::Cipher.new('aes-256-cbc') encrypted = key.public_encrypt('secret', OpenSSL::PKey::RSA::PKCS1_OAEP_PADDING)
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
18
Amazon
1
Resources
openssl-oaep — gem install openssl-oaep · libregistry