Authenticity Posted March 5, 2009 Share Posted March 5, 2009 Hmm... So you're going to drop d and f chunks? Link to comment Share on other sites More sharing options...
monoceres Posted March 5, 2009 Author Share Posted March 5, 2009 Hmm... So you're going to drop d and f chunks?Nah, don't think so, I like having the ability to not having the next file entry directly after the previous entry. Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
JRSmile Posted March 5, 2009 Share Posted March 5, 2009 (edited) Would reccoment aes. Maybe in combination with wirlpool, there os already an aes example here in the forum, i dont remember if it Needs an additional dll but i can write a func for u thats standalone ...http://www.autoitscript.com/forum/index.php?showtopic=78745 Edited March 6, 2009 by JRSmile $a=StringSplit("547275737420796F757220546563686E6F6C75737421","") For $b=1 To UBound($a)+(-1*-1*-1)step(2^4/8);&$b+=1*2/40*µ&Asc(4) Assign("c",Eval("c")&Chr(Dec($a[$b]&$a[$b+1])));''Chr("a")&"HI" Next ;time_U&r34d,ths,U-may=get$the&c.l.u.e;b3st-regards,JRSmile; MsgBox(0x000000,"",Eval("c"));PiEs:d0nt+*b3.s4d.4ft3r.1st-try:-) Link to comment Share on other sites More sharing options...
HAL9000 Posted March 6, 2009 Share Posted March 6, 2009 i get error in this code #include "FAF Archiver.au3" _FAF_CreateArchive("pippo.faf", "Hal9000") $faf= _FAF_OpenArchive("pippo.faf") _FAF_AddFileToArchive($faf, "wallpaper change.au3", "FAF_FLAG_RAW") _FAF_CloseArchive($faf) this is the error --------------------------- Error --------------------------- _WinAPI_CloseHandle: Handle non valido. --------------------------- OK --------------------------- Link to comment Share on other sites More sharing options...
ptrex Posted March 6, 2009 Share Posted March 6, 2009 @monoceres Again very nice !! I have gather many encryption UDF's over time (+50) So If you are interested I can send them to you, so you don't have to reinvent the wheel. Or spend a lot of time searching the forum. Regards ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
JRSmile Posted March 6, 2009 Share Posted March 6, 2009 @monoceresAgain very nice !! I have gather many encryption UDF's over time (+50)So If you are interested I can send them to you, so you don't have to reinvent the wheel. Or spend a lot of time searching the forum.Regardsptrexinterrested in this too @ptrex $a=StringSplit("547275737420796F757220546563686E6F6C75737421","") For $b=1 To UBound($a)+(-1*-1*-1)step(2^4/8);&$b+=1*2/40*µ&Asc(4) Assign("c",Eval("c")&Chr(Dec($a[$b]&$a[$b+1])));''Chr("a")&"HI" Next ;time_U&r34d,ths,U-may=get$the&c.l.u.e;b3st-regards,JRSmile; MsgBox(0x000000,"",Eval("c"));PiEs:d0nt+*b3.s4d.4ft3r.1st-try:-) Link to comment Share on other sites More sharing options...
monoceres Posted March 6, 2009 Author Share Posted March 6, 2009 i get error in this code #include "FAF Archiver.au3" _FAF_CreateArchive("pippo.faf", "Hal9000") $faf= _FAF_OpenArchive("pippo.faf") _FAF_AddFileToArchive($faf, "wallpaper change.au3", "FAF_FLAG_RAW") _FAF_CloseArchive($faf) this is the error --------------------------- Error --------------------------- _WinAPI_CloseHandle: Handle non valido. --------------------------- OK --------------------------- You recieve an handle from _FAF_CreateArchive() as well so you shouldn't use both _FAF_CreateArchive() and _FAF_OpenArchive(). The latter is when you want to open an old archive. @ptrex, sure hit me a pm and I will be take a look Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
ptrex Posted March 6, 2009 Share Posted March 6, 2009 @monoceres I hope you find something useful in the PM. regards, ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
monoceres Posted March 8, 2009 Author Share Posted March 8, 2009 Minor update!All types in headers are now unsignedMagic control number is now 4 bytes_FAF_DeleteFileInArchive() is now implementedI feel that I need to say something about the Delete function, use it wisely, for example the following example will not work as you expect:#include "FAF Archiver.au3" $faf=_FAF_OpenArchive("test.faf") $index = _FAF_ReadArchiveIndex($faf) For $i=0 To UBound($index)-1 _FAF_DeleteFileInArchive($faf,$index[$i][3]) Next _FAF_CloseArchive($faf)... while this will:#include "FAF Archiver.au3" $faf=_FAF_OpenARchive("testar.faf") $index = _FAF_ReadArchiveIndex($faf) For $i=UBound($index)-1 To 0 Step -1 _FAF_DeleteFileInArchive($faf,$index[$i][3]) Next _FAF_CloseArchive($faf)Why? Because everytime you delete a file the ID's in the archive gets modified so that they are in order ( first file will always have ID=0 and second ID=1 etc.).Think of the archive structure like an array, the _FAF_DeleteFileInArchive function works like _ArrayDelete().Furthermore, it will be faster deleting backwards due to internal workings.First post for latest version. Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
andery Posted June 21, 2009 Share Posted June 21, 2009 you can post a more detailed example for beginners please 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