Skip to content

velu-dev/vcrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gem For Password Encryption using Bcrypt

Step 1

gem install vecrypt

step 2

require "vecrypt"

Step 3

Encrypt password

password = VeEncrypt.new('your password')

salt = password.encrypt[:salt]  #salt is a key
hash_password = password.encrypt[:password]  #password is a key

Decrypt Password

password_check = VeDecrypt.new('your password', salt , hash_password)
password_check.decrypt # it return true or false

Releases

No releases published

Packages

No packages published

Languages