/crc32-crack

crc32 cracker for JVM

Primary LanguageKotlinGNU General Public License v3.0GPL-3.0

CRC32 Cracker

If original content is an Integer(not unsigned int), so we can crack it's CRC32 checksum in very limited time.

gradle

implementation group: 'com.hiczp', name: 'crc32-crack', version: '1.1'

usage

Kotlin:

val originals = Crc32Cracker.crack("fb6db529")
println(originals)
[20293030]
val originals = Crc32Cracker.crack("b2b247ab")
println(originals)
[37890226, 95228767]

note that original number may not unique.

Crc32Crack need to generate crc32 rainbow table before crack, this operation cost some time.

If want to init Crc32Cracker eager, call the Object first:

Crc32Cracker
println(Crc32Cracker.crack("fb6db529"))

Init cost about 310ms and one hash cost less than 1ms(test on Intel i7-8700)

License

GPL V3