1. Frederic Sosson
  2. PowerBuilder
  3. Monday, 11 March 2019 13:11 PM UTC

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,

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 11 March 2019 19:33 PM UTC
  2. PowerBuilder
  3. # 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

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Monday, 11 March 2019 17:30 PM UTC
  2. PowerBuilder
  3. # 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.

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Monday, 11 March 2019 17:17 PM UTC
  2. PowerBuilder
  3. # 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.

 

Comment
There are no comments made yet.
Frederic Sosson Accepted Answer Pending Moderation
  1. Monday, 11 March 2019 16:47 PM UTC
  2. PowerBuilder
  3. # 4

Here is the wikipedia link:

https://fr.wikipedia.org/wiki/Bcrypt

 

Comment
There are no comments made yet.
Frederic Sosson Accepted Answer Pending Moderation
  1. Monday, 11 March 2019 16:33 PM UTC
  2. PowerBuilder
  3. # 5
Comment
There are no comments made yet.
Frederic Sosson Accepted Answer Pending Moderation
  1. Monday, 11 March 2019 16:15 PM UTC
  2. PowerBuilder
  3. # 6
Comment
There are no comments made yet.
Frederic Sosson Accepted Answer Pending Moderation
  1. Monday, 11 March 2019 14:44 PM UTC
  2. PowerBuilder
  3. # 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

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Monday, 11 March 2019 14:29 PM UTC
  2. PowerBuilder
  3. # 8

Can you provide a link or give more information about the format?

Comment
  1. Frederic Sosson
  2. Monday, 11 March 2019 16:54 PM UTC
Here is the wikipedia link:

https://fr.wikipedia.org/wiki/Bcrypt
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.