Class: OpenPGP::S2K::Simple
- Inherits:
-
OpenPGP::S2K
- Object
- OpenPGP::S2K
- OpenPGP::S2K::Simple
- Defined in:
- lib/openpgp/s2k.rb
Overview
Constant Summary collapse
- IDENTIFIER =
0x00
Constants inherited from OpenPGP::S2K
Instance Attribute Summary
Attributes inherited from OpenPGP::S2K
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from OpenPGP::S2K
#digest, #digest_input_with_preload, identifier, #identifier, #initialize, #to_hash, #to_key, #to_s, #write
Constructor Details
This class inherits a constructor from OpenPGP::S2K
Class Method Details
.parse(input) ⇒ Object
84 85 86 |
# File 'lib/openpgp/s2k.rb', line 84 def self.parse(input) self.new(nil, :algorithm => input.read_byte) end |
Instance Method Details
#digest_input ⇒ Object
88 89 90 |
# File 'lib/openpgp/s2k.rb', line 88 def digest_input passphrase end |