Class: FlexPass::Coders::SHA256Hash

Inherits:
SHA2Hash
  • Object
show all
Defined in:
lib/flex_pass/coders/sha256_hash.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(raw_hash) ⇒ SHA256Hash

Returns a new instance of SHA256Hash.



12
13
14
# File 'lib/flex_pass/coders/sha256_hash.rb', line 12

def initialize(raw_hash)
  super(raw_hash, 256)
end

Class Method Details

.create(secret) ⇒ Object



7
8
9
# File 'lib/flex_pass/coders/sha256_hash.rb', line 7

def create(secret)
  super(secret, 256)
end

Instance Method Details

#==(secret) ⇒ Object



16
17
18
# File 'lib/flex_pass/coders/sha256_hash.rb', line 16

def ==(secret)
  super(secret)
end