Advertisement
SqREL

Untitled

Dec 22nd, 2012
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. enc = OpenSSL::PKey::RSA.new(File.open("somecert_with_keys.pem"), "somepass")
  2. enc.sign(OpenSSL::Digest::MD5.new, File.read("input.txt"))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement