Didn't think about that - you'd have to specify the algorithm: hashedPw = hash(form.password, 'MD5')
When I get a chance, I'll test it against my Wordpress install. Billy Cravens bdcrav...@gmail.com On Aug 25, 2011, at 12:35 PM, Cameron Childress wrote: > > On Thu, Aug 25, 2011 at 1:07 PM, Billy Cravens <bdcrav...@gmail.com> wrote: > >> Not really possible - it's not encrypted, it's an MD5 hash. > > > I odn't know if WordPress uses a hash, but if it does - you can absolutely > authenticate against that using ColdFusion's Hash() function. > > hashedwordpresspassword = readWordPressPasswordFromDisc(); > > if(hash(form.password) eq hashedwordpresspassword) { > return good login; > } else { > return bad login; > } > > oAuth would work too, but will be much much more work. > > Much. > > -Cameron > > -- > Cameron Childress > -- > p: 678.637.5072 > im: cameroncf > facebook <http://www.facebook.com/cameroncf> | > twitter<http://twitter.com/cameronc> | > google+ <https://profiles.google.com/u/0/117829379451708140985> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347015 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm