sekret alternatives and similar libraries
Based on the "Misc" category.
Alternatively, view sekret alternatives based on common mentions on social networks and blogs.
-
jclasslib
jclasslib bytecode editor is a tool that visualizes all aspects of compiled Java class files and the contained bytecode. -
kotlin-logging
Lightweight Multiplatform logging framework for Kotlin. A convenient and performant logging facade. -
kotlin-telegram-bot
๐ค A wrapper for the Telegram Bot API written in Kotlin -
kotlinx.atomicfu
The idiomatic way to use atomic operations in Kotlin -
tinylog
tinylog is a lightweight logging framework for Java, Kotlin, Scala, and Android -
lingua
The most accurate natural language detection library for Java and the JVM, suitable for long and short text alike -
Kotlift
Kotlift is the first source-to-source language transpiler from Kotlin to Swift -
kotlinx.reflect.lite
Lightweight library allowing to introspect basic stuff about Kotlin symbols -
Humanizer.jvm
Humanizer.jvm meets all your jvm needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities. -
actions-on-google-kotlin
Unofficial Actions on Google SDK for Kotlin and Java -
klutter
A mix of random small libraries for Kotlin, the smallest reside here until big enough for their own repository. -
solr-undertow
Solr / SolrCloud running in high performance server - tiny, fast startup, simple to configure, easy deployment without an application server. -
kassava
This library provides some useful kotlin extension functions for implementing toString(), hashCode() and equals() without all of the boilerplate. -
SimpleDNN
SimpleDNN is a machine learning lightweight open-source library written in Kotlin designed to support relevant neural network architectures in natural language processing tasks -
units-of-measure
Type-safe dimensional analysis and unit conversion in Kotlin. -
TLSLibrary
Simple TlsLibrary written in Kotlin - Provides DSL for creating TLS connections -
kotlin-futures
A collections of extension functions to make the JVM Future, CompletableFuture, ListenableFuture API more functional and Kotlin like. -
scientist
A kotlin library for refactoring code. Port of GitHub's scientist. -
kasechange
๐ซ๐๐ข๐ ฟ Multiplatform Kotlin library to convert strings between various case formats including Camel Case, Snake Case, Pascal Case and Kebab Case -
kjob
A lightweight coroutine based persistent job/cron scheduler written in Kotlin -
PrimeCalendar
PrimeCalendar provides all of the java.util.Calendar functionalities for Persian, Hijri, and ... dates. It is also possible to convert dates to each other. -
kotlin-pluralizer
:sunny: Kotlin extension to pluralize and singularize strings -
kformula
Mathematical expression engine written in Kotlin, running on JVM. -
kase-format
Multiplatform kotlin string case conversion and detection library.
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of sekret or a related project?
README
Sekret
Kotlin compiler plugin that hides data class properties in generated toString()
method
Motivation
In 2019 Facebook and Google admitted a leaking of millions of user passwords.
It doesn't mean that they save our passwords as plain text, no - the passwords were found in log files.
When a user enters a password it goes through hundreds of different services and each of has its logging system.
It's very easy to make a mistake and save sensitive data, especially when you have no control on autogenerated code.
That's why this plugin was created to help you to exclude some properties from autogenerated toString()
method.
If you do not want to use a compiler plugin please have a look to other ways.
Usage
Code:
data class Credentials(
val login: String,
@Secret val password: String
)
println(Credentials("User", "12345"))
Output:
Credentials(login=User, password=โ โ โ )
Installation
Gradle
Apply plugin:
plugins {
id 'net.afanasev.sekret' version '<version>'
}
Configure:
// Download @Secret annotation
dependencies {
compile 'net.afanasev:sekret-annotation:<version>'
}
// OR use your own
sekret {
// "โ โ โ " by default
mask = "***"
// true by default
enabled = true
// true by default
maskNulls = false
// "net.afanasev.sekret.Secret" by default
annotations = ["com.sample.YourAnnotation"]
}
Kotlin CLI
kotlinc \
-Xplugin=kotlin-plugin.jar \
-P plugin:sekret:annotations=com.sample.YourAnnotation \
...
Mentions
Code of Conduct
Please refer to [Code of Conduct](CODE_OF_CONDUCT.md) document.