Jump to content

Looking for a CF to create SHA-1 or MD5 hashes


This topic is 6248 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

Hi,

I've been looking on the net for a while now but I can't find an answer. I'm looking for a Custom Function to create an SHA-1 or MD5 hash in FM7. Does anyone know where I can find such a custom function? Or does anyone have such a custom function for me?

(I've found some plugins but I want to do it without a plugin!)

Thnx for all of your help!!

Edited by Guest
Link to comment
Share on other sites

  • Newbies

Søren, thanks for your reply, I have had a look at the file you mentioned but that appears to be only compatible with FM8. In 2 functions, MD5Hash and MD5_Calc, there are messages. Looks like GetValue() is not available in FM7 so that's a problem. Do you know if it's possible to use an (older FM7 compatible) other function instead of GetValue()?

Link to comment
Share on other sites

  • 10 months later...

Hey guys;

I've noticed that the function falls down when trying to hash larger chunks of data;

for example; hash the following:

ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 =

016fd69cdbf285d51490d1ff753b7436

ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ =

483b435a30d5593d616970924c39aacd

ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZABCDE =

5db6c17979ee7a401388da72f8deda6b

ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEF =

5db6c17979ee7a401388da72f8deda6b

Any ideas what is happening here?

Link to comment
Share on other sites

This topic is 6248 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.