Sha256: 4fd3abac7e9f5eea23f08362eeb8faa705038107ef0f2302c922accee5fb6e3a
Contents?: true
Size: 403 Bytes
Versions: 1
Compression:
Stored size: 403 Bytes
Contents
module Ccrypto class KeyConfig include AlgoConfig attr_reader :algo, :keysize attr_accessor :provider_config def initialize(algo, keysize) @algo = algo @keysize = keysize end def to_s "#{@algo}/#{@keysize}" end def self.supported_secret_key_config(&block) Provider.instance.provider.supported_secret_key_config(&block) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ccrypto-0.2.0 | lib/ccrypto/configs/key_config.rb |