Coldfusion allows you to specify various algorithms for doing a hash.
http://livedocs.adobe
- CFM
X_COMPAT - MD
5 - SHA
- SHA-25
6 - SHA-384
- SH
A-512
I'm working on a site in Coldfusion, where I've set up user registration and login using Coldfusion to hash passwords. When a user creates an account, I also need an account to be set up for them under the same credentials in my PHPBB3 forum. From what I understand, PHPBB uses a special type of hashing that's not compatable with that's available via Coldfusion.
Is there a way to create a user/password in PHPBB3 via Coldfusion using PHPBB3 hashing?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Coldfusion allows you to specify various algorithms for doing a hash.
http://livedocs.adobe
Here's a really good article about MD5 and how PHPBB uses it
http://www.neothermic.co
Y
It looks like what you're referring to is the old version of PHPBB(v2). I'm using the latest PHPBB3 which uses it's own unique hash. I'll attach the code here. I'm sure it must be duplicatable in Coldfusion, but I'm far from up to speed on PHP, and I haven't done much with hash in Coldfusion other than using the default.
One option is that I could modify the PHP code to be plain old MD5, but I'd rather keep the security provided by the proprietary hash. I've been beating my head against the wall with this for a long time, so if anyone can help, much appreciated!!
What's interesting is that some places it still uses the md5 function:
31-36:
if (strlen($hash) == 34)
{
return $hash;
}
return md5($password);
50-55:
if (strlen($hash) == 34)
{
return (_hash_crypt_private($pass
}
return (md5($password) === $hash) ? true : false;
Those two bits of code will use md5, only if the $hash isn't 34 chars length. so, I wonder, will the normal MD5 algorithm maybe work anyway for you? Have you tried testing creating an account in CF that also works for PHPBB yet?
I did create identical accounts using MD5 in Coldfusion and it hashed out differently. I also tried to change the hash in PHPBB3 to just MD5 (as described here http://209.85.173.132/sear
Even when I changed to plain MD5 and registered in PHPBB3, I still came up with something different... I followed the directions exactly and it still didn't work. Might I be missing something?
Business Accounts
Answer for Membership
by: zadocPosted on 2009-02-07 at 16:31:51ID: 23581297
Yes.