I'm trying to generate MD5 of a string in my android code using kotlin..
val md5 = MessageDigest.getInstance("MD5")
val hash = md5.digest(queryToSign.toByteArray(Charset.defaultCharset())).toString()
But this gives me:
[B@118072
Any thoughts?