April 2, 200619 yr 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 April 2, 200619 yr by Guest
April 2, 200619 yr 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()?
April 2, 200619 yr GetValue ( listOfValues ; valueNumber ) is the same as: Substitute ( MiddleValues ( listOfValues ; valueNumber ; 1 ) ; ¶ ; "" )
April 2, 200619 yr GetValue (field; 2) is basically a shortcut for Substitute ( MiddleValues ( field; 2; 1); ¶; "")
April 3, 200619 yr Author Newbies He guys, Thanks for all your help. Here is the FM7 compatible file. MD5v1_0_3_fm7compatible.zip
February 19, 200718 yr 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