Hello,
I have to encrypt password in BCrypt, in the form "$2a$11$...".
Do you know the method?
I used the Topwiz app (http://www.topwizprogramming.com/freecode_bcrypt.html), but I can not do it.
Best regards,
- You are here:
- Home
- Q&A
- Q&A
- PowerBuilder
- Encrypt BCrypt
Resolved
Encrypt BCrypt
- How-to
- Frederic Sosson
- PowerBuilder
- Monday, 11 March 2019 13:11 PM UTC
- Monday, 11 March 2019 19:33 PM UTC
- PowerBuilder
- # 1
Hi Frederic;
FWIW: The "BCrypt" encryption type is also referred to as "BlowFish". If that is the encryption mechanism that you need, PB2017R3 now supports this natively in the new built-in SymmetricEncrypt command.
HTH
Regards ... Chris
- Monday, 11 March 2019 17:30 PM UTC
- PowerBuilder
- # 2
https://www.chilkatsoft.com/refdoc/xChilkatCrypt2Ref.html
This is a commercial ActiveX control that supports Blowfish. All of the Chilkat ActiveX controls are supported in PowerBuilder.
- Monday, 11 March 2019 17:17 PM UTC
- PowerBuilder
- # 3
My example is called BCrypt because Microsoft named the API functions starting with BCrypt and they are in bcrypt.dll.
The Microsoft API doesn't support the bcrypt hashing scheme. A rather unfortunate naming choice on Microsoft's part.
The letter b in the bcrypt hashing scheme stands for Blowfish. I have no idea how Microsoft came to use the same name for what is officially called: Cryptography API: Next Generation.
- Monday, 11 March 2019 14:44 PM UTC
- PowerBuilder
- # 7
Hi Mr. Smith,
The hash must be 60 characters.
For example: the hash of the password "my password" will give
$2a$11$gbWYfHwl2sCD2NQgx.4LDOCEtuiwOJUxqqi5mRePl4iuKTTqHiV7e
See the wikipedia page: https://en.wikipedia.org/wiki/Bcrypt
Thank you for your patience
- Monday, 11 March 2019 14:29 PM UTC
- PowerBuilder
- # 8
Can you provide a link or give more information about the format?
- Frederic Sosson
- Monday, 11 March 2019 16:54 PM UTC
-
Helpful Loading... Helpful 0
- Page :
- 1
However, you are not allowed to reply to this question.