INNER CODE UNIT · Kotlin

setup

terl/lazysodium-java · sample-app/src/main/kotlin/Main.kt:376

        private fun setup() {
            AnsiConsole.systemInstall()
        }

        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:")

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…