Password

object Password

Functions

Link copied to clipboard
fun encode(password: String): String

Create hash for db

Link copied to clipboard
fun random(size: Int = 8): String

Generate random password

Link copied to clipboard
fun validate(password: String?, hash: String): Boolean

Validate hash from db