Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7979445
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T09:46:57+00:00 2026-06-04T09:46:57+00:00

An existing coldfusion website is to be converted to dot net. In the coldfusion

  • 0

An existing coldfusion website is to be converted to dot net.

In the coldfusion code, the password is hashed using its hash() function with no algorithm:

SomePassword = '#hash(fldPassword)#'

I found this document, saying the default encryption is

CFMX_COMPAT: Generates a hash string identical to that generated by
ColdFusion MX and ColdFusion MX 6.1 (default).

There are some articles actually telling me how to decrypt.

According to Macromedia, The ColdFusion Encrypt function uses an
XOR-based algorithm that utilizes a pseudo random 32-bit key based on
a seed passed by the user as a parameter to the function. The
resulting data is UUencoded.

You’ll need to uudecode the encoded value first
http://www.eggheadcafe.com/printsear…asp?linkid=351

and then XOR it using the key it was encrypted with.
http://www.java2s.com/Code/CSharp/La…deamessage.htm

If you dont have the key – your wasting yuor time.

But, how to make it work? I don’t think there is any key. All I can see is '#hash(fldPassword)#'. Please help. Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T09:46:58+00:00Added an answer on June 4, 2026 at 9:46 am

    There are some articles actually telling me how to decrypt.

    Hashing and encryption are not the same thing. Encryption can be reversed. You can recover the original value if you have the right key, etectera. Whereas hashing is a one way trip. Once hashed, the original value cannot be recovered. (Well .. in theory. Some of the weaker hashing algorithms have been broken.) So you cannot “decrypt” a hashed value. But you can duplicate the obfuscated result string.

    I found this document, saying the default encryption is CFMX_COMPAT

    Actually it refers to the default algorithm. However, I am not so sure that description is correct. (Edit: As Rasmus correctly points out, it does say the default is MD5) However, CF9/7 default to MD5 anyway. Even when the algorithm is CFMX_COMPAT. So in either case, a simple MD5 hash in C# would give you the same result.

    ie These all produce identical results ie 098F6BCD4621D373CADE4E832627B4F6.

        #hash("test")#
        #hash("test", "cfmx_compat")#
        #hash("test", "md5")#
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm beginning a port of an existing ColdFusion application to .NET MVC and one
I am using ColdFusion 8.0.1 I am working on an existing application that has
my existing code as follows $('#'+ContainerId).find('img').each(function(){ // ... }); I want to crate a
Reading existing code at work, I wondered how come this could work. I have
I have an existing website running on IIS6 that has only static HTML pages.
I have an existing application which does all of its logging against log4j. We
I am using ColdFusion 9.0.1. I have a new web site that uses Bikes.cfm
I am using the following code to dynamically create an INPUT element and assign
My existing application is built using struts 1 framework and I m adding new
I've found previous programmers using cfstoredproc in our existing project about insert records into

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.