Class: Digest::XXHash32

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) ⇒ 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