INNER CODE UNIT · Kotlin
printSection
terl/lazysodium-java · sample-app/src/main/kotlin/Main.kt:206
private fun printSection(sectionTitle: String) {
log(" ")
log(" >>> $sectionTitle.")
log(" ")
}
private fun printStep(step: String, title: String, vararg descriptions: String) {
log("+ Step $step: $title.")
for (desc: String in descriptions) {
log(" $desc")
}
}
@Throws(SodiumException::class)
private fun genericHashStep1b() {
val randomKey: ByteArray = lazySodium.randomBytesBuf(GenericHash.KEYBYTES)
printStep(
"1b",