Class: Ccrypto::KeyConfig
- Inherits:
-
Object
- Object
- Ccrypto::KeyConfig
- Includes:
- AlgoConfig
- Defined in:
- lib/ccrypto/configs/key_config.rb
Instance Attribute Summary collapse
-
#algo ⇒ Object
Returns the value of attribute algo.
-
#keysize ⇒ Object
Returns the value of attribute keysize.
Attributes included from AlgoConfig
Instance Method Summary collapse
Methods included from AlgoConfig
Instance Attribute Details
#algo ⇒ Object
Returns the value of attribute algo.
7 8 9 |
# File 'lib/ccrypto/configs/key_config.rb', line 7 def algo @algo end |
#keysize ⇒ Object
Returns the value of attribute keysize.
7 8 9 |
# File 'lib/ccrypto/configs/key_config.rb', line 7 def keysize @keysize end |
Instance Method Details
#to_s ⇒ Object
9 10 11 |
# File 'lib/ccrypto/configs/key_config.rb', line 9 def to_s "#{@algo}/#{@keysize}" end |