Class: Digest::XXHash64

Inherits:
XXHash
  • Object
show all
Defined in:
lib/xxhash.rb

Instance Attribute Summary

Attributes inherited from XXHash

#digest_length

Instance Method Summary collapse

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