Module: PGP
- Defined in:
- lib/pgp.rb,
lib/pgp/cli.rb,
lib/pgp/version.rb,
lib/pgp/decryptor.rb,
lib/pgp/encryptor.rb,
lib/pgp/cli/runner.rb,
lib/pgp/private_key.rb,
lib/pgp/ruby_decryptor.rb
Defined Under Namespace
Classes: CLI, Decryptor, Encryptor, PrivateKey, RubyDecryptor
Constant Summary collapse
- BC_Provider_Code =
"BC"
- VERSION =
'0.2.0'
Class Method Summary collapse
- .string_to_bais(string) ⇒ Object
-
.time_now ⇒ Object
This exists for stubbing during tests.
Class Method Details
.string_to_bais(string) ⇒ Object
23 24 25 |
# File 'lib/pgp.rb', line 23 def self.string_to_bais(string) ByteArrayInputStream.new string.to_java_bytes end |
.time_now ⇒ Object
This exists for stubbing during tests
28 29 30 |
# File 'lib/pgp.rb', line 28 def self.time_now Time.now end |