libraryDependencies += "io.github.dagdelenmustafa" % "bcrypt4s" % "{version}"
<dependency>
<groupId>io.github.dagdelenmustafa</groupId>
<artifactId>bcrypt4s</artifactId>
<version>{version}</version>
</dependency>
import com.mdagdelen.bcrypt4s
def run: F[Unit] = for {
salt <- bcrypt4s.genSalt[F](logRounds = 12)
hash <- bcrypt4s.hashPw[F]("1234", salt)
isOk <- bcrypt4s.checkPw[F]("1234", hash)
_ <- Console[F].println(isOk)
} yield ()