thanks for the quick response!
George Liblick, October 17, 2017 - 6:13 pm UTC
I am now able to produce matching hashes!
bcrypt alternative in Oracle
Omar Sawalhah, July 03, 2018 - 10:36 pm UTC
Hi,
I just migrated data from MySQL into Oracle, I have a column encrypted using bcrypt library in Javascript. I need to validate users against their old passwords. How is this accomplished in Oracle.
July 04, 2018 - 2:47 pm UTC
Surely you can call the same Javascript library in your app? Why has migrating the database affected this?
bcrypt alternative in Oracle
Omar Sawalhah, July 05, 2018 - 12:45 pm UTC
Sorry, I didn't make my self clear. My new application is APEX and I need to write a function in the database to validate the migrated users with their old password, and I need to use the same bcrypt algorithm to change their passwords, or create new users.
I don't want to send them email to change all their passwords, so I can save it locally as sha256 or so.
Thanks.
bcrypt alternative in Oracle
Omar Sawalhah, July 05, 2018 - 10:19 pm UTC
Hi,
I know how to use JS libraries in APEX, my question was, simply. If I have a string like "password", is there any way to hash it to be "$2y$12$Fyj2S0an.MDKddcO3G9DduBXJJwTTylYAKmGqMOvgbsaK7Z4Hzg8K"
That what
https://en.wikipedia.org/wiki/Bcrypt can generate.
in Oracle Database?
Thanks
July 06, 2018 - 9:27 am UTC
I'm not aware of an in-built bcrypt option in Oracle Database.
You may be able to do this using Java stored procedures.