themax90 Posted August 25, 2006 Share Posted August 25, 2006 I really would LOVE to use this, but I cannot read german...... Arg.... Link to comment Share on other sites More sharing options...
peethebee Posted August 25, 2006 Author Share Posted August 25, 2006 Hi! Thanks for your interest, AutoIt Smith! Translating the messages into English would be no problem, but the different ways of storing dates will make to conversion a bit hard. I already tries to use functions like _DateLocal2Int and vice versa, but it is not possible everywhere to use them. I think we could try a conversion after final release of version 1.0. Too bad that VMWare does not run on my PC - it crashes him totally :-( peethebee vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Link to comment Share on other sites More sharing options...
JSThePatriot Posted August 25, 2006 Share Posted August 25, 2006 You might want to take a look at these options:MD5 Plugin (By JSThePatriot)StringHash and FileHash (By Me)StringMD5 (By MSLx Fanboy)MD5 UDF (By SvenP)SolidSnake, I do appreciate the mention, and wanted to update you that it now includes SHA-1 and MD5.Thanks for the links. I searched the forum myself a little bit and found a great SHA1-DLL and AutoIt-Call.Works perfectly. I can verify the password without storing it and even without storing a hash of it *proud* *grin*.The new version 0.30 supports appointment, that reoccur in a certain period of time ever and ever again with numerous possibilties to defeine them.peethebee@peethebeeAs I mentioned above to SolidSnake, I have recently updated my Plugin DLL to include SHA-1. The link is in my signature. It would keep the solution you are providing to "Open Source" and Native AutoIt. I dont know how much you like to keep your projects in AutoIt, and Open Source, but I know I prefer to do that. I have everything documented in the thread for the plugin, and if you have any questions please let me know.BTW, I would also love to see an English version. I navigated your site as I have studied a bit of German in the past, but not enough to translate anything. I cant wait till you get this translated. Let me know if there is anything at all I can do to help with your project(s).JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
peethebee Posted August 25, 2006 Author Share Posted August 25, 2006 SolidSnake, I do appreciate the mention, and wanted to update you that it now includes SHA-1 and MD5.@peethebeeAs I mentioned above to SolidSnake, I have recently updated my Plugin DLL to include SHA-1. The link is in my signature. It would keep the solution you are providing to "Open Source" and Native AutoIt. I dont know how much you like to keep your projects in AutoIt, and Open Source, but I know I prefer to do that. I have everything documented in the thread for the plugin, and if you have any questions please let me know.If it is a DLL, speed should be okay. This is the most important thing about the hashing part as we atm hash the whole file to make it more secure. Nevertheless I'm not sure wether I find energy to include it in v1.0. Perhaps you could assist here... There is a function _SHA1_File() which needed to be slightly converted I think.BTW, I would also love to see an English version. I navigated your site as I have studied a bit of German in the past, but not enough to translate anything. I cant wait till you get this translated. Let me know if there is anything at all I can do to help with your project(s).A great help when translating is this site: http://dict.leo.org.Thanks for your offer of help. I think I will possibly start this whole conversion when version 1.0 German is stable - otherwise we'd have to fic every bug double. JSpeethebee vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Link to comment Share on other sites More sharing options...
JSThePatriot Posted August 25, 2006 Share Posted August 25, 2006 If it is a DLL, speed should be okay. This is the most important thing about the hashing part as we atm hash the whole file to make it more secure. Nevertheless I'm not sure wether I find energy to include it in v1.0. Perhaps you could assist here... There is a function _SHA1_File() which needed to be slightly converted I think.A great help when translating is this site: http://dict.leo.org.Thanks for your offer of help. I think I will possibly start this whole conversion when version 1.0 German is stable - otherwise we'd have to fic every bug double. peethebeeI would venture to say that a script testing the timing differences between the two would be a worthy examination. Could you provide me with the dll, and some code to call it as I have never used DLLCall() before? I would be more than willing to test its speed vs my plugin that uses FileHash() and StringHash().My Plugin (without having to use DLLCall()) already has a FileHash("filename.ext", 2, True) ;2 = SHA-1, True = Uppercase. It works, and needs no conversion, so it may be worth your while to check it out.If you still feel the need to keep the current DLL file vs my Plugin DLL then I would be more than happy to try to work out the differences in the code and help you make the proper DLLCall() to do the File conversion.JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
peethebee Posted August 25, 2006 Author Share Posted August 25, 2006 (edited) Hi! Here are Code and DLL Func _SHA1_File($file) $result = DllCall(@ScriptDir & "Resourcesau3sha1.dll", "str", "HashFile", "str", $file) Return $result[0] EndFunc ;==>_SHA1_File Would be great if you could map it in this function so that no more editions are necessary. Should work. Thanks! One thing comes in to my mind: Your DLl does several Hashing algos, doesn't it? If this was right, I would appreciate you to deliver a version only doing sha1-hashing (file and string). peethebee Edited August 25, 2006 by peethebee vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Link to comment Share on other sites More sharing options...
JSThePatriot Posted August 25, 2006 Share Posted August 25, 2006 Hi! Here are Code and DLL Func _SHA1_File($file) $result = DllCall(@ScriptDir & "Resourcesau3sha1.dll", "str", "HashFile", "str", $file) Return $result[0] EndFunc;==>_SHA1_File Would be great if you could map it in this function so that no more editions are necessary. Should work. Thanks! One thing comes in to my mind: Your DLl does several Hashing algos, doesn't it? If this was right, I would appreciate you to deliver a version only doing sha1-hashing (file and string). peethebee I will first use the function you gave me to test the speed differences between DLLCall and Plugin items. If you could provide the string function as well that would be great. So I can test both...functions. I can probably do the cut down version where it includes only SHA-1, but I noticed the DLL you provided is near double the size of my MD5/SHA-1 DLL, so I dont see cutting it down for size reduction to be that much of an issue, other than additional benefit to using my plugin. I will let you know what I come up with. Please let me know the reason you want me to break out the SHA-1 from the MD5 in my plugin. Thanks, JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
peethebee Posted August 25, 2006 Author Share Posted August 25, 2006 Hi! Here'S the function you missed: Func _SHA1_String($string) $result = DllCall(@ScriptDir & "\Resources\au3sha1.dll", "str", "HashString", "str", $string) Return $result[0] EndFunc ;==>_SHA1_String We develop this calendar with the aim to make it perfectly fit on USB sticks. Therefore I like it to be as small as possible. We need only one Hashing algo, so it would be great if you could do a "special verision" for us. If not half size of the DLL before is not bad either of course. Thanks for testeing, peethebee vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Link to comment Share on other sites More sharing options...
JSThePatriot Posted August 25, 2006 Share Posted August 25, 2006 Below is a screen shot of my code and results.From the above File example my code is over twice the speed at roughly half the size on a 63.18MB file. Those results are consistant over 5-7 testings.I will now test the string version you supplied, and now that I know you want this to fit on a thumb drive I will also test with a smaller file to see how much of a difference there is there.JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
peethebee Posted August 25, 2006 Author Share Posted August 25, 2006 Thank you so much! Your help is much appreciated! I will most likely add your file if we get it to work in Galenda together. peethebee vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Link to comment Share on other sites More sharing options...
JSThePatriot Posted August 25, 2006 Share Posted August 25, 2006 Thank you so much! Your help is much appreciated!I will most likely add your file if we get it to work in Galenda together.peethebeeThat is much appreciated. I will try to create a scalled down version as I know that will help as well, but I dont think it will really pull much out of the DLL size. We shall see.As far as using a smaller file... here is the result...Then I tried the string version, and got pretty much the same results as the smaller file...I hope this helps convince you that the plugin is a bit better for speed, not to mention my file size. I will see if I can decrease that for you as well.Thanks,JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
peethebee Posted August 27, 2006 Author Share Posted August 27, 2006 (edited) Hi! I integrated it! ; Hashing Func _HashString($string) $plHND = PluginOpen(@ScriptDir & "\Resources\f_shash.dll") $result = StringHash($string, 2, False) PluginClose($plHND) Return $result EndFunc ;==>_HashString Func _HashFile($file) $plHND = PluginOpen(@ScriptDir & "\Resources\f_shash.dll") $result = FileHash($file, 2, False) PluginClose($plHND) Return $result EndFunc ;==>_HashFile oÝ÷ Ø&¥Æ®¶se6WD6Ä÷BgV÷C´7'BgV÷C²ÂgV÷C´6gV÷C²Âô6fÆRb33c¶÷Våö6ÅögVÆÇFoÝ÷ Ù©Ýjëh×6If _HashFile($open_cal_fullpath) <> GetCalOpt("Crypt", "Hash", "Error") Then ... Thanks for your support. A smaller DLL would still be apprciated, but as said, I can live with that size very good too. Could you try to run v1.0 Beta 1 on your English Windows? I'd like to know how much work is to do until it works. At least GUI and settings should already work. Just creation of appointments could cause problems due to different date formattings. Thanks in advance! Edit: It sometimes tells that the function would be unknown. But sometimes it works normally. >"C:\Programme\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /beta /ErrorStdOut /in "Y:\Programmieren\AutoIt\Skripte\Eigene Programme\Galenda\Galenda_main.au3" /autoit3dir "C:\Programme\AutoIt3\beta" /UserParams +> Starting AutoIt3Wrapper v.1.7.1 >Running:(3.2.1.1):C:\Programme\AutoIt3\beta\autoit3.exe "Y:\Programmieren\AutoIt\Skripte\Eigene Programme\Galenda\Galenda_main.au3" Y:\Programmieren\AutoIt\Skripte\Eigene Programme\Galenda\Galenda_main.au3 (4718) : ==> Unknown function name.: $result = FileHash($file, 2, False) $result = ^ ERROR If it was okay woth you, you could contact me via ICQ: 329.896.843 peethebee Edited August 27, 2006 by peethebee vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Link to comment Share on other sites More sharing options...
JSThePatriot Posted August 27, 2006 Share Posted August 27, 2006 (edited) Tomorrow I will run the v1.0 Beta, and also will look into shrinking my plugin for you. Unless you are providing this as a complete package you may want to provide a link to my Plugin thread. JS Edited August 27, 2006 by JSThePatriot AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
peethebee Posted August 27, 2006 Author Share Posted August 27, 2006 Thank you! Any idea where the error comes from? peethebee vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Link to comment Share on other sites More sharing options...
JSThePatriot Posted August 28, 2006 Share Posted August 28, 2006 Thank you! Any idea where the error comes from? peethebee My apologies... #compiler_plugin_funcs = FileHash, StringHash Should be either at the top or before you call those functions. JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
peethebee Posted August 28, 2006 Author Share Posted August 28, 2006 Hi! Of course it is there ;-) Not SciTE does crash, but AutoIt when trying to call the function at runtime. peethebee vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Link to comment Share on other sites More sharing options...
peethebee Posted August 28, 2006 Author Share Posted August 28, 2006 (edited) Hi!I just released Beta 2.The direct link is here: http://galenda.aufwaerts.de/index.php?sect..._beta_2_src.zipI went back to my old Hashing DLL to make it testable. As soon as your one works you are back in there. If you want to test it, you just switch the commented lines to uncommented ones and vice versa in the last two funcs.Thanks to AutoIt's compiling technology and to CleanScript the compiled exe (232 KB) is far smaller thatn the source (alone 203 KB) including the includes (> 500 KB). Cool!peethebee Edited August 28, 2006 by peethebee vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Link to comment Share on other sites More sharing options...
JSThePatriot Posted August 28, 2006 Share Posted August 28, 2006 Hi!Of course it is there ;-)Not SciTE does crash, but AutoIt when trying to call the function at runtime.peethebeeWhat version of AutoIt are you using? I was just informed of a slight problem with the release version, and a new SDK for the beta version due to the fix of the release. Let me know. I am already working on updating to the new SDK.Hi!I just released Beta 2.The direct link is here: http://galenda.aufwaerts.de/index.php?sect..._beta_2_src.zipI went back to my old Hashing DLL to make it testable. As soon as your one works you are back in there. If you want to test it, you just switch the commented lines to uncommented ones and vice versa in the last two funcs.Thanks to AutoIt's compiling technology and to CleanScript the compiled exe (232 KB) is far smaller thatn the source (alone 203 KB) including the includes (> 500 KB). Cool!peethebeeOkay, I am going to upgrade the SDK first, and make the appropriate changes there, then I will test the program out. I appreciate you staying on top of this.Thanks,JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
peethebee Posted August 28, 2006 Author Share Posted August 28, 2006 I use 3.2.0.0 stable and 3.2.1.1 Beta. Read this topic about the problems too. As I understood it, it should work with the stable, but I think I'm remembering that it crashed on both. Moreover we gonna need beta in future. Thanks to you for keeping helping! peethebee vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Link to comment Share on other sites More sharing options...
JSThePatriot Posted August 28, 2006 Share Posted August 28, 2006 @peethebee I have updated my plugin to include the new SDK, and have also broken out the SHA and MD5 parts of the plugin as requested. Please view the link in my signature, and post any questions/problems/comments you may have. I would like to test once you have those in place Thanks, JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now