class Onionurigen::RSAGen

Attributes

private_key[RW]
public_key[RW]

Public Class Methods

new() click to toggle source
# File lib/onionurigen/rsa_gen.rb, line 7
def initialize
  @private_key = OpenSSL::PKey::RSA.new 1024
  @public_key = @private_key.public_key
end