diff --git a/core/java/src/net/i2p/util/SipHashInline.java b/core/java/src/net/i2p/crypto/SipHashInline.java similarity index 98% rename from core/java/src/net/i2p/util/SipHashInline.java rename to core/java/src/net/i2p/crypto/SipHashInline.java index 7d02b2b1a6caface8d736037c7cfcbc86f9c9bab..90a212ce12b9bbc59f3a2eeb32aa517b50991f8c 100644 --- a/core/java/src/net/i2p/util/SipHashInline.java +++ b/core/java/src/net/i2p/crypto/SipHashInline.java @@ -1,4 +1,4 @@ -package net.i2p.util; +package net.i2p.crypto; /* * As pulled from https://github.com/nahi/siphash-java-inline @@ -33,7 +33,9 @@ package net.i2p.util; * * I2P mods: add off/len version * - * @since 0.9.5, public since 0.9.27 + * For constant keys see net.i2p.util.SipHash + * + * @since 0.9.5, Moved to net.i2p.crypto and public since 0.9.27 */ public final class SipHashInline { diff --git a/core/java/src/net/i2p/util/SipHash.java b/core/java/src/net/i2p/util/SipHash.java index 36efce006295c4df4c78af4236eabb46c06b2a5e..d1af7f82a417abb6490cd671709364dac2cbda28 100644 --- a/core/java/src/net/i2p/util/SipHash.java +++ b/core/java/src/net/i2p/util/SipHash.java @@ -3,8 +3,10 @@ package net.i2p.util; // uncomment to test reference implementation //import com.github.emboss.siphash.*; +import net.i2p.crypto.SipHashInline; + /** - * Wrapper around SipHashInline + * Wrapper around SipHashInline with constant per-JVM keys * * @since 0.9.5 */