zwierzak 0 Posted October 15, 2010 Hello. I need your help - again :-( I'd like to code data read from input in MD5 and then save it into .ini file. And of course decrypt it and put into the Input. Is there any already made library for MD5(couldn't find anything). If so, could you give me an example script, please? Share this post Link to post Share on other sites
trancexx 1,013 Posted October 15, 2010 So, to summarize... you'd like to code data read from input in MD5 and then save it into .ini file. And of course decrypt it and put into the Input. Cool. What does it mean? ♡♡♡ . eMyvnE Share this post Link to post Share on other sites
Melba23 3,457 Posted October 15, 2010 zwierzak,To the best of my knowledge, MD5 is a one-way hash function. That means that it produces a fixed length return regardless of the size of the input and therefore cannot be reversed. It is therefore not suitable for your requirements. Is there any already made library for MD5(couldn't find anything) Then you did not look very hard as the Crypt UDF is pretty easy to find. However, as I explained above, I would suggest looking at _Crypt_EncryptData and _Crypt_DecryptData rather than the MD5 based _Crypt_HashData. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Share this post Link to post Share on other sites
zwierzak 0 Posted October 15, 2010 OK thank you for help. Share this post Link to post Share on other sites