A simple library to get unique id for any string using md5 hashing and crc8 checksum
Step 1. Add the JitPack repository to your build file for gradle Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Step 2. Add the dependency
dependencies {
implementation 'com.github.rashshafee29:Md5HashCRC8-Library:VERSION'
}
In kotlin
var uniqueId = Md5HashCRC8.getUniqueId("cheers")