forked from I2P_Developers/i2p.i2p
Utils: Move SipHashInline from util to crypto
This commit is contained in:
@ -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 {
|
||||
|
@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user