1
0
Fork 1
mirror of https://gitlab.com/mangadex-pub/mangadex_at_home.git synced 2024-01-19 02:48:37 +00:00
This commit is contained in:
carbotaniuman 2021-01-26 14:11:27 -06:00
parent d32395f16e
commit 3f2c3fb049

View file

@ -21,8 +21,8 @@ package mdnet.server
import java.security.MessageDigest
fun md5Bytes(stringToHash: String) =
MessageDigest.getInstance("MD5")
.digest(stringToHash.toByteArray())
MessageDigest.getInstance("MD5")
.digest(stringToHash.toByteArray())
fun printHexString(bytes: ByteArray): String {
val sb = StringBuilder()