General algorighm implements in java
Reference to: ChineseIdCardValidate.pdf
Reference to: siphash.pdf
Reference to: SHA256.pdf
Reference to: MurmurHash2.c
Reference to: BloomFilter.pdf
method | remark |
---|---|
inverse | ~ |
and | & |
or | ` |
xor | ^ |
lShift | << |
rShift | >> |
rrShift | >>> |
Reference to: LinearCongruence.pdf
Reference to: MersenneTwister.pdf
Reference to: LZ77.pdf
Reference to: LZW.pdf
Reference to: HoffmanAndGolombCoding.pdf
<dependency>
<groupId>com.github.myibu</groupId>
<artifactId>algorithm-java</artifactId>
<version>1.0.5</version>
</dependency>
SHA256 sha256 = new SHA256();
byte[] bs = sha256.encode("abc".getBytes("utf-8"));
Add more useful methods in Bits