fix Sha256.toString()

This commit is contained in:
CodeSteak 2019-06-03 18:28:53 +02:00
parent cf4e5b3e92
commit fd749069a1
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ class Sha256 {
override fun toString(): String {
val s = StringBuilder(64)
for (byte in hashBytes) {
s.append(String.format("%02X"), byte)
s.append(String.format("%02X", byte))
}
return s.toString()
}