PasswordService

oxygen.crypto.service.PasswordService
See thePasswordService companion object

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Live

Members list

Value members

Abstract methods

def hashPassword(plainTextPassword: PlainText): UIO[Hashed]

Accepts a plain text password, and hashes it. This hash is then safe to store, and you can then check if a password is correct using validate.

Accepts a plain text password, and hashes it. This hash is then safe to store, and you can then check if a password is correct using validate.

Attributes

def validate(plainTextPasswordToValidate: PlainText, correctHashedPassword: Hashed): UIO[Boolean]