Class: RSA::OPEN::Public

Inherits:
Object
  • Object
show all
Defined in:
lib/rsa.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#eObject

Returns the value of attribute e.



35
36
37
# File 'lib/rsa.rb', line 35

def e
  @e
end

#nObject

Returns the value of attribute n.



35
36
37
# File 'lib/rsa.rb', line 35

def n
  @n
end

Class Method Details

.eObject



49
50
51
# File 'lib/rsa.rb', line 49

def self.e
  @e
end

.e=(e) ⇒ Object



41
42
43
# File 'lib/rsa.rb', line 41

def self.e=(e)
  @e=e
end

.nObject



45
46
47
# File 'lib/rsa.rb', line 45

def self.n
  @n
end

.n=(n) ⇒ Object



37
38
39
# File 'lib/rsa.rb', line 37

def self.n=(n)
  @n=n
end