mirror of
https://gitlab.com/mangadex-pub/mangadex_at_home.git
synced 2024-01-19 02:48:37 +00:00
format
This commit is contained in:
parent
d32395f16e
commit
3f2c3fb049
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue