RazerM Posted March 25, 2006 Posted March 25, 2006 (edited) I made this to make file encryption easier. The Encrypt function is;=============================================================================== ; ; Function Name: _EncryptFile() ; Description: Encrypts a file to a new file named [original filename and extension].encrypt using the IDEA Algorithm ; Parameter(s): $s_pass - Key used to encrypt the file ; [optional] $new_ext - new extension ; $i_silent - Set to 1 for silent mode, no warnings for blank key etc(if set to 1 the next two paramaters must be passed) ; $i_savefilekey - If 1 Then key will be saved to file, If 0 not saved ; $i_delsource - If 1 source is deleted(aka unencrypted file - delete for security) If 0 source file is left ; NOTE: encrypted files are saved to a new file, so please deletes the source if you want the file to be secure ; ; Requirement(s): AutoIt and 'encrypt.com' file in Source Dir. File.au3 and String.au3 must be included in the script that uses this function ; Return Value(s): On Success - Returns 1 ; On Failure - Sets @error to 2 If no key ; Author(s): RazerM ;===============================================================================oÝ÷ Ù8^ ç+Ê_ºw-Ⱬ¢+Øìôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôô(ì(ìչѥ½¸9µè}¹ÉåÁÑ¥± ¤(ìÍÉ¥ÁÑ¥½¸è¹ÉåÁÑÌ¥±Ñ¼¹Ü¥±¹µm½É¥¥¹°¥±¹µ¹áѹͥ½¹t¹¹ÉåÁÐÕÍ¥¹Ñ¡%±½É¥Ñ¡´(ìAɵÑȡ̤èÀÌØíÍ}ÁÍÌ´-äÕÍѼ¹ÉåÁÐÑ¡¥±(ìm½ÁÑ¥½¹±tÀÌØí¹Ý}áд¹Üáѹͥ½¸(ìÀÌØí¥}Í¥±¹Ð´MÐѼĽÈÍ¥±¹Ðµ½°¹¼Ýɹ¥¹Ì½È±¹¬äÑ¡¥ÍÐѼÄÑ¡¹áÐÑݼÁɵÑÉ̵ÕÍÐÁÍͤ(ìÀÌØí¥}ÍÙ¥±ä´%ÄQ¡¸äÝ¥±°ÍÙѼ¥±°%À¹½ÐÍÙ(ìÀÌØí¥}±Í½ÕÉ´%ÄͽÕɥ̱ѡչ¹ÉåÁÑ¥±´±Ñ½ÈÍÕÉ¥Ñä¤%ÀͽÕÉ¥±¥Ì±Ð(ì9=Qè¹ÉåÁÑ¥±ÌÉÍÙѼ¹Ü¥±°Í¼Á±Í±ÑÌѡͽÕÉ¥å½ÔݹÐÑ¡¥±Ñ¼ÍÕÉ(ì(ìIÅեɵ¹Ð¡Ì¤èÕѽ%йÌäí¹ÉåÁй½´Ìä쥱¥¸M½Õɥȸ¥±¹Ô̹MÑÉ¥¹¹Ô̵ÕÍÐ¥¹±Õ¥¸Ñ¡ÍÉ¥ÁÐÑ¡ÐÕÍÌÑ¡¥Ìչѥ½¸(ìIÑÕɸY±Õ¡Ì¤è=¸MÕÍÌ´IÑÕɹÌÄ(ì=¸¥±ÕÉ´MÑÌÉɽÈѼÈ%¹¼ä(ìÕÑ¡½È¡Ì¤èIéÉ4(ìôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôô Edited June 7, 2006 by RazerM My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop.
GrungeRocker Posted March 25, 2006 Posted March 25, 2006 Nice! [font="Verdana"]In work:[list=1][*]InstallIt[*]New version of SpaceWar[/list] [/font]
RazerM Posted March 26, 2006 Author Posted March 26, 2006 thanks it took a while to get silent mode working etc My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop.
RazerM Posted March 27, 2006 Author Posted March 27, 2006 i thought more people would like this sort of thing My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop.
Polyphem Posted March 28, 2006 Posted March 28, 2006 HiHo , I like it and I took a look into it. But to be honest, I personally dont want to use UDFs relying on external .coms, for which I cant look into the source. I saw that Windows has built in functions for encryption, cant you use these? But I guess thats a major change and a naiv question... Thanks anyhow... Best Regards This post will be edited again by Polyphem: Tomorrow, 11:55 AM
RazerM Posted March 28, 2006 Author Posted March 28, 2006 it uses IDEA encryption http://en.wikipedia.org/wiki/Idea_encryption My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop.
Polyphem Posted March 28, 2006 Posted March 28, 2006 No offence meant m8 ... I believe you, but the problem is you're reffering to a file from your own webspace. I saw an encryption function here using plugins from sf.net, for those I can take a look into the source... Just wanted to point out, why maybe/possbily there're few responses yet... This post will be edited again by Polyphem: Tomorrow, 11:55 AM
RazerM Posted March 28, 2006 Author Posted March 28, 2006 my own webspace? .com is the file extension (encryption.com) not a website My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop.
Polyphem Posted March 28, 2006 Posted March 28, 2006 I understood that, meant that you're hosting the download. But it seems closed-source... This post will be edited again by Polyphem: Tomorrow, 11:55 AM
dnsi Posted March 28, 2006 Posted March 28, 2006 cool script!!! My Programs:Flip-Flop File Encryption SysyemMULTIPLAYER-SOCKETSERVERHide An Archive In A Picture
Simucal Posted April 16, 2006 Posted April 16, 2006 I just found this, and all I have to say is "Great Job!". I was searching to forums to see if anyone had written a strong encryption funciton for AutoIt and if not I was going to work on it. I wasnt expecting IDEA encryption!!! Kudos to you, -Simucal AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc)
RazerM Posted April 16, 2006 Author Posted April 16, 2006 thanks My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop.
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