Class: Veil::Hasher::Base
- Inherits:
-
Object
- Object
- Veil::Hasher::Base
- Defined in:
- lib/veil/hasher/base.rb
Instance Method Summary collapse
-
#encrypt(group, name, version) ⇒ String
Hash the credential group, name and version with the stored secret and salt.
-
#to_hash ⇒ Hash<Symbol,String>
Return the instance as a Hash.
Instance Method Details
#encrypt(group, name, version) ⇒ String
Hash the credential group, name and version with the stored secret and salt
20 21 22 |
# File 'lib/veil/hasher/base.rb', line 20 def encrypt(group, name, version) raise Veil::NotImplmented.new("#{caller[0]} has not implemented #encrypt") end |
#to_hash ⇒ Hash<Symbol,String>
Return the instance as a Hash
27 28 29 |
# File 'lib/veil/hasher/base.rb', line 27 def to_hash raise Veil::NotImplmented.new("#{caller[0]} has not implemented #to_hash") end |