Removed old code

master
E. Almqvist 3 years ago
parent 7edba4976d
commit cb6911dc61
  1. 10
      ma5/rsa/rsa.rb

@ -18,16 +18,6 @@ module RSA
end
class Key
private def find_d
puts "Generating private key..."
begin
return @d
rescue RuntimeError
puts "d not found, retrying..."
retry
end
end
def initialize(p1, p2)
puts "Generating key pair..."
@n = p1 * p2

Loading…
Cancel
Save