Class: Noise::Functions::Hash::Blake2sDigester::Context

Inherits:
Object
  • Object
show all
Defined in:
lib/noise/functions/hash/blake2s.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bObject

Returns the value of attribute b.



170
171
172
# File 'lib/noise/functions/hash/blake2s.rb', line 170

def b
  @b
end

#cObject

Returns the value of attribute c.



170
171
172
# File 'lib/noise/functions/hash/blake2s.rb', line 170

def c
  @c
end

#hObject

Returns the value of attribute h.



170
171
172
# File 'lib/noise/functions/hash/blake2s.rb', line 170

def h
  @h
end

#out_lenObject

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

#tObject

Returns the value of attribute t.



170
171
172
# File 'lib/noise/functions/hash/blake2s.rb', line 170

def t
  @t
end