|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectau.com.forward.sipHash.SipHashTests
public class SipHashTests
SipHashTests -- Tests for SipHash_2_4.java
(c)2013 Forward Computing and Control Pty. Ltd. (www.forward.com.au)
This code may be freely used for both private and commercial use.
Provide this copyright is maintained.
Constructor Summary | |
---|---|
SipHashTests()
|
Method Summary | |
---|---|
void |
negativeTest()
Test the hash of a single -ve byte, (byte)0x81 The result is in LittleEndian format |
void |
pdfTest()
Hash the testKey with the testMsg as described in https://131002.net/siphash/siphash.pdf The result is in BigEndian format |
void |
referenceTests()
Test the standard message test contained in the C reference implementation https://131002.net/siphash/siphash24.c The results are in LittleEndian format |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SipHashTests()
Method Detail |
---|
public void pdfTest()
public void negativeTest()
public void referenceTests()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |