RIPEMD-160: Difference between revisions

→‎{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details
(→‎{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details)
Line 383:
=={{header|Kotlin}}==
{{libheader|BouncyCastle}}
<lang scala>import org.bouncycastle.crypto.digests.RIPEMD160Digest
<lang kotlin>
import org.bouncycastle.crypto.digests.RIPEMD160Digest
import org.bouncycastle.util.encoders.Hex
import kotlin.text.Charsets.US_ASCII
Line 403 ⟶ 402:
Hex.encode(output, System.out)
System.out.flush()
}</lang>
}
</lang>
{{out}}
<pre>