Utils: Move SipHashInline from util to crypto

This commit is contained in:
zzz
2016-09-24 16:00:56 +00:00
parent a46a0b1b32
commit 98e3ca47e6
2 changed files with 7 additions and 3 deletions

View File

@ -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 {

View File

@ -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
*/