Class: Digest::XXHash32
Instance Attribute Summary
Attributes inherited from XXHash
Instance Method Summary collapse
-
#initialize(seed = 0) ⇒ XXHash32
constructor
A new instance of XXHash32.
Methods inherited from XXHash
#digest, #digest!, #reset, #update
Constructor Details
#initialize(seed = 0) ⇒ XXHash32
Returns a new instance of XXHash32.
86 87 88 |
# File 'lib/xxhash.rb', line 86 def initialize(seed = 0) super(32, seed.to_i) end |