sun.misc.Hashing 的替换

Replacement for sun.misc.Hashing

我的 scala 程序崩溃了,因为 Hashing 对象不再在 sun.misc 包中。谁能推荐替代品?

Scala 包含自己的 MurmurHash 3 算法实现,但我不知道它是否与 sun.misc.Hashing 实现的版本相同。

它在 scala.util.hashing.MurmurHash3.