Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Truecrypt – 256bit AES
Old 07-13-2011, 04:58 AM Truecrypt – 256bit AES
numbenator's Avatar
Webmaster Talker

Posts: 523
Location: London
Trades: 0
Hi everyone

Could someone please advise me as to how i craete Truecrypt – 256bit AES using PHP from my form values which will then be written to my mySQL DB.

( a free way as well )


Any help would be appreciated.
__________________

Please login or register to view this content. Registration is FREE
numbenator is offline
Reply With Quote
View Public Profile Visit numbenator's homepage!
 
 
Register now for full access!
Old 07-13-2011, 06:00 AM Re: Truecrypt – 256bit AES
lynxus's Avatar
Awesomeo-Maximo

Posts: 1,618
Location: UK
Trades: 1
True-crypt is a different piece of software entirely.

You can do:
http://www.phpsnaps.com/snaps/view/r...-using-mcrypt/

The problem is , AES 256 is not standard in PHP so you will need external modules to do it.

The above should cover it.
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


lynxus is offline
Reply With Quote
View Public Profile Visit lynxus's homepage!
 
Old 07-13-2011, 06:09 AM Re: Truecrypt – 256bit AES
numbenator's Avatar
Webmaster Talker

Posts: 523
Location: London
Trades: 0
This is great. Somewhat in the direction i was heading after readin about but nice to have the functions there and ready to go.

Cheers

Steve
__________________

Please login or register to view this content. Registration is FREE
numbenator is offline
Reply With Quote
View Public Profile Visit numbenator's homepage!
 
Old 07-13-2011, 07:00 AM Re: Truecrypt – 256bit AES
lynxus's Avatar
Awesomeo-Maximo

Posts: 1,618
Location: UK
Trades: 1
Yep, Simply call the function with the password and key to encrypt and then send it again with the encrypted value and the same key to see the password.

Note,
if you are using this for password storage, Id be careful.

I personally think "hashing" a password is better as its only one way .
If someone got your DB and the Key, They would have ALL passwords.

With a hash, this wouldn't happen.
Rainbow table lookups can be slow and if you use a SALT and ensure users use string passwords there is no way to even use a rainbow lookup.
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


lynxus is offline
Reply With Quote
View Public Profile Visit lynxus's homepage!
 
Old 07-13-2011, 07:25 AM Re: Truecrypt – 256bit AES
numbenator's Avatar
Webmaster Talker

Posts: 523
Location: London
Trades: 0
nice one.
Its not actually for password security. Of all things its simply for form data!
Don't ask! ha ha. I have no idea why lol

Hey ho though new skills learnt lol

Thanks for your input.
__________________

Please login or register to view this content. Registration is FREE
numbenator is offline
Reply With Quote
View Public Profile Visit numbenator's homepage!
 
Reply     « Reply to Truecrypt – 256bit AES
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.41163 seconds with 12 queries