INNER CODE UNIT · Kotlin
printTitle
terl/lazysodium-java · sample-app/src/main/kotlin/Main.kt:380
private fun printTitle() {
val line: Ansi = ansi()
.fgBrightRed()
.a(" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~")
.reset()
log()
log(line)
log(" Lazysodium for Java (Examples) ")
log(line)
log()
}
private fun printIntro() {
log("Please provide, as a command line argument, one of the following numbers:")
log("1. Secret key: Perform encryption using a symmetric key.")
log("2. Public key: Encryption using public-private key.")
log("3. Generic hashing: Hash arbitrarily.")
log("4. Password hashing: Password hash.")