clener code

This commit is contained in:
davotoula
2025-09-06 16:33:03 +02:00
parent 9be55eda07
commit e66e71a05c
2 changed files with 2 additions and 2 deletions
@@ -62,7 +62,7 @@ abstract class OpCrypto internal constructor() : OpUnary() {
val digest = MessageDigest.getInstance(this.hashLibName())
var chunk = ctx.read(1048576)
while (chunk != null && chunk.size > 0) {
while (chunk.isNotEmpty()) {
digest.update(chunk)
chunk = ctx.read(1048576)
}