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