fix Sha256.toString()
This commit is contained in:
parent
cf4e5b3e92
commit
fd749069a1
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue