C Board  

Go Back   C Board > Community Boards > General Discussions

Reply
 
LinkBack Thread Tools Display Modes
Old 03-08-2009, 11:17 AM   #1
Unregistered User
 
Yarin's Avatar
 
Join Date: Jul 2007
Posts: 981
Secure?

I'm making my own public-private-key encryption communication. It uses RSA. The javascript encrypts the text, then the php decrypts it.

http://yarin.awardspace.com/test.htm

You don't have to put any information in, push 'Pay' and it'll show you the encrypted text and the decrypted text. I know the key to decrypt are sent to the next page too, but ignore it, it wouldn't be there in the final release.

So as an eavesdropping cracker, how hard would it be to crack the encrypted text sent? I was thinking, does knowing the fact that the first part of the text sent is always "PayData_" allow one to crack the decryption number? You could run a brute-force attack until the decryption of the first 3 blocks returns "PayData_", and bingo, you have the key to get the rest of the data.

How secure would say this is? Good enough for use, or really easy to crack without breaking a sweat?
__________________
May the Source be with you.
Yarin is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Secure File Deletion mihnea C Programming 7 05-05-2009 07:22 AM
Secure Instant Messaging newbie29 C++ Programming 2 05-06-2005 02:36 AM
Ctrl+Alt+Del: Secure? RoD Tech Board 6 01-24-2003 05:53 PM
Most Secure (SSH) Telnet Client for Programming kuphryn A Brief History of Cprogramming.com 0 02-14-2002 08:49 PM


All times are GMT -6. The time now is 11:52 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22