Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

  • 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

I saw this a few weeks ago:

http://www.unwwwired.net/MD5v1_0_3.zip

--sd

  • Author
  • 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()?

GetValue ( listOfValues ; valueNumber )

is the same as:

Substitute (

MiddleValues ( listOfValues ; valueNumber ; 1 ) ;

¶ ; "" )

GetValue (field; 2) is basically a shortcut for Substitute ( MiddleValues ( field; 2; 1); ¶; "")

  • Author
  • Newbies

He guys,

Thanks for all your help. Here is the FM7 compatible file.

MD5v1_0_3_fm7compatible.zip

  • 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?

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.