Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enc = OpenSSL::PKey::RSA.new(File.open("somecert_with_keys.pem"), "somepass")
- enc.sign(OpenSSL::Digest::MD5.new, File.read("input.txt"))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement