Class: Noise::Functions::Hash::Blake2sDigester::Context
- Inherits:
-
Object
- Object
- Noise::Functions::Hash::Blake2sDigester::Context
- Defined in:
- lib/noise/functions/hash/blake2s.rb
Instance Attribute Summary collapse
-
#b ⇒ Object
Returns the value of attribute b.
-
#c ⇒ Object
Returns the value of attribute c.
-
#h ⇒ Object
Returns the value of attribute h.
-
#out_len ⇒ Object
Returns the value of attribute out_len.
-
#t ⇒ Object
Returns the value of attribute t.
Instance Method Summary collapse
-
#initialize(b, h, t, c, out_len) ⇒ Context
constructor
A new instance of Context.
Constructor Details
#initialize(b, h, t, c, out_len) ⇒ Context
Returns a new instance of Context.
171 172 173 174 175 176 177 |
# File 'lib/noise/functions/hash/blake2s.rb', line 171 def initialize(b, h, t, c, out_len) @b = b @h = h @t = t @c = c @out_len = out_len end |
Instance Attribute Details
#b ⇒ Object
Returns the value of attribute b.
170 171 172 |
# File 'lib/noise/functions/hash/blake2s.rb', line 170 def b @b end |
#c ⇒ Object
Returns the value of attribute c.
170 171 172 |
# File 'lib/noise/functions/hash/blake2s.rb', line 170 def c @c end |
#h ⇒ Object
Returns the value of attribute h.
170 171 172 |
# File 'lib/noise/functions/hash/blake2s.rb', line 170 def h @h end |
#out_len ⇒ Object
Returns the value of attribute out_len.
170 171 172 |
# File 'lib/noise/functions/hash/blake2s.rb', line 170 def out_len @out_len end |
#t ⇒ Object
Returns the value of attribute t.
170 171 172 |
# File 'lib/noise/functions/hash/blake2s.rb', line 170 def t @t end |