lib/ccrypto/configs/hmac_config.rb in ccrypto-0.1.3 vs lib/ccrypto/configs/hmac_config.rb in ccrypto-0.2.0

- old
+ new

@@ -2,12 +2,17 @@ module Ccrypto class HMACConfig include AlgoConfig - attr_accessor :key, :digest + attr_accessor :ccrypto_key - def initialize - @digest = :sha256 + attr_reader :digest_config + + attr_accessor :provider_config + + def initialize(digestConfig) + @digest_config = digestConfig end + end end