Skip to content

rashshafee29/Md5HashCRC8-Library

Repository files navigation

Md5HashCRC8-Library

A simple library to get unique id for any string using md5 hashing and crc8 checksum

How to include it in your project?

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'
}

How to use it?

In kotlin

var uniqueId = Md5HashCRC8.getUniqueId("cheers")

Sample screenshot

Screenshot_1628423861