Skip to content

loaf-scripts/loaf_bcrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

loaf_bcrypt

A FiveM resource for hashing and verifying passwords using bcrypt in a separate worker thread.

Installation

  1. Download the latest release from the releases page
  2. Add start loaf_bcrypt to your server.cfg
  3. Add add_unsafe_worker_permission loaf_bcrypt to your server.cfg

Usage

Exports

  • exports.loaf_bcrypt:GetPasswordHash(password: string): string
  • exports.loaf_bcrypt:VerifyPasswordHash(password: string, hash: string): boolean

Lua

Add server_script "@loaf_bcrypt/import.lua" to your fxmanifest.lua

About

A FiveM resource for hashing and verifying passwords using bcrypt in a separate worker thread

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors