Title: Problem with encryption
Last modified: January 8, 2019

---

# Problem with encryption

 *  Resolved [johnfisher2](https://wordpress.org/support/users/johnfisher2/)
 * (@johnfisher2)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/problem-with-encryption/)
 * I have set up all of my functionality to add a user to my external database and
   I am hung up on the encryption.
 * In my Gravity Forms hook I am calling:
 * $pw = password_hash($entry[‘7’], PASSWORD_BCRYPT);
 * And getting an entry in my database that looks like a hashed password. When I
   turn on BCRYPT in External Login, I cannot login with this newly created account.
   I CAN login with a different account that uses a clear password.
 * I am at a loss as to how to troubleshoot this one.

Viewing 1 replies (of 1 total)

 *  Thread Starter [johnfisher2](https://wordpress.org/support/users/johnfisher2/)
 * (@johnfisher2)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/problem-with-encryption/#post-11068680)
 * I took a fresh look this morning and changed the PASSWORD_BCRYPT to PASSWORD_DEFAULT
   in an effort to figure out a different method of hashing passwords that would
   work. I then turned on ‘bcrypt’ in External Login and IT WORKED!!! :). No clue
   why PASSWORD_BCRYPT and External Login’s bcrypt were not playing nice.

Viewing 1 replies (of 1 total)

The topic ‘Problem with encryption’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/external-login_fbebd6.svg)
 * [External Login](https://wordpress.org/plugins/external-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/external-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/external-login/)
 * [Active Topics](https://wordpress.org/support/plugin/external-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/external-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/external-login/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [johnfisher2](https://wordpress.org/support/users/johnfisher2/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/problem-with-encryption/#post-11068680)
 * Status: resolved