TehWhale Posted October 2, 2008 Share Posted October 2, 2008 (edited) Project Database v5!This is a simple database for AutoIt users. This database uses a Crypt.dll file to help secure the database from prowling eyes. This database is not 100% secure, but it is very secure, for now the database encryption password, if the database path itself. I decided to write this in my spare time for those users who think _SQLite_* is a bit complicated. Sqlite is somewhat slow, and compared to this, it is VERY slow, Crypt.dll can mass encrypt files super fast. I hope you use this UDF in your next project! Hope it all works out, and please post any comment you want to. If you have something bad to say, say it! I'll just take it as constructive criticism. Very last, thank you jpam for your Crypt.dll.When creating a new database with _Db_* functions, remember to allocate your index first with _Db_AddIndexes(). If you do not allocate your database first, it will crash your .exe, or AutoIt script executer. This sets up your database file to hold data, depending on how big you set your index to be. After you have done this, then use _Db_Write() freely, but make sure that you have that index before tring to write to it.Getting started...1) Download the Project Database.zip at the bottom of the page, and then return to here2) Unzip the .zip to your desktop, or where ever3) Take a look at the Database EX Simple.au3 or, Database EX Advanced.au3 and choose which best fixs you4) Execute the source code, and debug message box will tell you what it has done, and when reading it5) Click here and post your comment6) Use this is your next program! Enjoy!Included in the zip:1) Db.dll (by jpam) (Just Crypt.dll renamed)2) Database.au33) Database EX Simple.au34) Database EX Advanced.au3Downloads:Do not download right now, unless you really feel the need, I'm having multiple issues with it.Project_Database_v5.zipTotal Downloads: 152SciTe_User_Calltips.txtMirrors: (Do not use unless the above is broken)Project Database v4.zip Edited October 13, 2008 by SwiftBurns Link to comment Share on other sites More sharing options...
zaini Posted October 3, 2008 Share Posted October 3, 2008 its good project... Link to comment Share on other sites More sharing options...
enaiman Posted October 3, 2008 Share Posted October 3, 2008 "Invalid Download Link" all over ... tried several times ... SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) Link to comment Share on other sites More sharing options...
zaini Posted October 3, 2008 Share Posted October 3, 2008 "Invalid Download Link" all over ... tried several times ...i try for second download...the link is still ok..maybe you should try again... Link to comment Share on other sites More sharing options...
enaiman Posted October 3, 2008 Share Posted October 3, 2008 Nope ... 5 in a row and still nothing ... Why not attaching it here? SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) Link to comment Share on other sites More sharing options...
TehWhale Posted October 3, 2008 Author Share Posted October 3, 2008 (edited) Project Database v3 uploaded!Updated! I fixed a few bugs with the program, now you must set your index before writing to that database. Remember that it can slow down encryption/decrytion when you have a huge index, your best bet would be to increase the size when you need to. Better example, more comments, cleaned source! Enjoy, I will be back tomorrow and i'm hoping for some either good, or bad, comments from you guys! Edited October 3, 2008 by SwiftBurns Link to comment Share on other sites More sharing options...
enaiman Posted October 3, 2008 Share Posted October 3, 2008 Haven't tested it yet, I only had a look at the code ... it looks good I guess I'll have a need for such a tool sometime. Thanks for sharing it. SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) Link to comment Share on other sites More sharing options...
WeMartiansAreFriendly Posted October 3, 2008 Share Posted October 3, 2008 Seems like a nice project, keep going. I sure hope crypt.dll will be unneeded in future versions. Don't bother, It's inside your monitor!------GUISetOnEvent should behave more like HotKeySet() Link to comment Share on other sites More sharing options...
TehWhale Posted October 3, 2008 Author Share Posted October 3, 2008 its good project... Thanks!Haven't tested it yet, I only had a look at the code ... it looks good >_<I guess I'll have a need for such a tool sometime.Thanks for sharing it.Well try it out, I provided a nice example! Seems like a nice project, keep going.I sure hope crypt.dll will be unneeded in future versions.Crypt.dll is the main encryption .dll, I'll find a way to remove it or something but so it still works correctly.Thanks for all of your comments! Link to comment Share on other sites More sharing options...
TehWhale Posted October 3, 2008 Author Share Posted October 3, 2008 (edited) Project Database v4 Uploaded!Better examples, fixed some coding, now working 100%, did lots of testing. Edited October 3, 2008 by SwiftBurns Link to comment Share on other sites More sharing options...
TehWhale Posted October 4, 2008 Author Share Posted October 4, 2008 *Cough* Comments *Cough* 48 total downloads and 2 comments. Link to comment Share on other sites More sharing options...
Cdma1X Posted October 6, 2008 Share Posted October 6, 2008 sorry i could not understand what is this? is it a replacement for IniRead() & IniWrite? can you provide a example of using it? any more simple and easy to understand description? Link to comment Share on other sites More sharing options...
TehWhale Posted October 9, 2008 Author Share Posted October 9, 2008 No, not like IniWrite, but it's just a encrypted database. Your index is basically what line the file is writing too. I provide a Simple example and a advanced user example in my .zip. You use the _Db_AddIndexes() First, and set how many spots you want open for data, and then you can use the _Db_Write to write to any of the indexes you created with _Db_addIndexes(). Sorry for the late reply, I didn't notice anyone posted here. Link to comment Share on other sites More sharing options...
DexterMorgan Posted October 9, 2008 Share Posted October 9, 2008 *Cough* Comments *Cough* 48 total downloads and 2 comments. It's cool Good job! code Link to comment Share on other sites More sharing options...
TehWhale Posted October 9, 2008 Author Share Posted October 9, 2008 It's cool Good job!Glad you like it!! Link to comment Share on other sites More sharing options...
TehWhale Posted October 10, 2008 Author Share Posted October 10, 2008 Project Database v5 Uploaded!Fixed some bugs, changed coding, etc. Link to comment Share on other sites More sharing options...
TehWhale Posted October 12, 2008 Author Share Posted October 12, 2008 Hmm, I noticed something, but not sure why. When you run my script, and rerun it, it says like index = -47? I'm going to have to do some debugging. Link to comment Share on other sites More sharing options...
gseller Posted October 13, 2008 Share Posted October 13, 2008 Pssst, I found line 104 in Database.au3 the $Indexes needed renamed to $nIndexes.. Nice script btw.. Link to comment Share on other sites More sharing options...
TehWhale Posted October 13, 2008 Author Share Posted October 13, 2008 Pssst, I found line 104 in Database.au3 the $Indexes needed renamed to $nIndexes.. Nice script btw..Thanks.I think I'm going to do a rewrite of the whole thing, because I'm having some issues with it. After you write all the data, and then read it, from my example script, if you run it again, it's says the index is a negitive number. Then, the read of the script fails because it's using _Crypt_GetIndex, and that fails because the index got to negitives. So I am planning a rewrite today when I get home from school, and it should fix this problem, because I find this UDF very useful, as it's fast, and encrypted, but I would like your input on the subject, whether I should continue this project, or let it drop. I'll be adding a poll option soon. 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