Platforms to show: All Mac Windows Linux Cross-Platform

BCryptMBS.BCrypt(Pass as String, Salt as String) as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Encryption and Hash MBS Encryption Plugin 20.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Hashes password with bcrypt based on given salt.
Example:
Dim salt As String = BCryptMBS.BCryptSalt(11)
Dim hash As String = BCryptMBS.BCrypt("password", salt)

Break
BCryptMBS.BCryptSalt(Rounds as Integer) as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Encryption and Hash MBS Encryption Plugin 20.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Creates salt based on given numbers of rounds.
BCryptMBS.Verify(Pass as String, Hash as String) as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Encryption and Hash MBS Encryption Plugin 20.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Verifies a hash to be right.
Example:
// check various levels
For i As Integer = 4 To 15
Dim salt As String = BCryptMBS.BCryptSalt(i)
Dim hash As String = BCryptMBS.BCrypt("password", salt)

Dim b As Boolean = BCryptMBS.Verify("password", hash)

System.DebugLog Str(i)+" "+Str(b)+" "+hash

If Not b Then Break
Next
Notes:
Check is case sensitive!
Returns true on success.

The items on this page are in the following plugins: MBS Encryption Plugin.

Feedback: Report problem or ask question.

The biggest plugin in space...


Start Chat