How can I generate hash codes with Scala -


i want generate non cryptographic hash code string in scala 2.11

i looked online , found class called murmurhash3 when try use unhelpful class murmurhash3 in package hashing cannot accessed in package scala.util.hashing

why not able access package? there alternative?

the class murmurhash3 private

private[hashing] class murmurhash3 

what need, companion object murmurhash3. don't try instantiate it. use it's methods, in static class

util.hashing.murmurhash3.stringhash("") 

Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -