Module: SecretX

Defined in:
lib/secretx.rb,
lib/secretx/aes.rb,
lib/secretx/rsa.rb,
lib/secretx/mode.rb,
lib/secretx/encode.rb,
lib/secretx/version.rb,
lib/secretx/configuration.rb

Defined Under Namespace

Modules: Encode, Mode Classes: AES, Configuration, RSA

Constant Summary collapse

VERSION =
'0.0.3'

Class Method Summary collapse

Class Method Details

.confObject



8
9
10
# File 'lib/secretx.rb', line 8

def self.conf
  @conf ||= SecretX::Configuration.new
end

.config(&block) ⇒ Object



12
13
14
# File 'lib/secretx.rb', line 12

def self.config(&block)
  block.call(conf)
end