Click here to Skip to main content
15,908,909 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionForms Inheritance Pin
CodingYoshi11-May-08 5:58
CodingYoshi11-May-08 5:58 
AnswerRe: Forms Inheritance Pin
DanB198311-May-08 8:16
DanB198311-May-08 8:16 
GeneralRe: Forms Inheritance Pin
CodingYoshi11-May-08 10:08
CodingYoshi11-May-08 10:08 
GeneralRe: Forms Inheritance Pin
DanB198311-May-08 10:13
DanB198311-May-08 10:13 
QuestionHow to detect an invalid key? Pin
don_Pardon10-May-08 12:39
don_Pardon10-May-08 12:39 
AnswerRe: How to detect an invalid key? Pin
Dave Kreskowiak10-May-08 13:15
mveDave Kreskowiak10-May-08 13:15 
GeneralRe: How to detect an invalid key? Pin
don_Pardon10-May-08 20:58
don_Pardon10-May-08 20:58 
GeneralRe: How to detect an invalid key? Pin
Dave Kreskowiak11-May-08 8:33
mveDave Kreskowiak11-May-08 8:33 
Member 4083157 wrote:
Is there any way to use hash of the encrypted and decrypted data?


That would defeat the purpose of encryption pretty quickly now, wouldn't it?? You simply don't have a way around this. There are only three possiblities here.

1. The key is blatantly invalid, such as incorrect length or tampered with.

2. The key is just the wrong key, in which case, the only way to tell is to try and decrypt a message with it.

3. The key is correct.

There's no way to predict in a quick fashion if the key is correct or not. It just has to be tried to find out. That takes time, and there's no way around it.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: How to detect an invalid key? Pin
don_Pardon12-May-08 9:07
don_Pardon12-May-08 9:07 
AnswerRe: How to detect an invalid key? Pin
CodingYoshi10-May-08 16:44
CodingYoshi10-May-08 16:44 
GeneralRe: How to detect an invalid key? Pin
don_Pardon10-May-08 20:43
don_Pardon10-May-08 20:43 
GeneralRe: How to detect an invalid key? Pin
Dave Kreskowiak11-May-08 8:33
mveDave Kreskowiak11-May-08 8:33 
Question.Net framework 3.0 Pin
Bijay Bhaskar Deo10-May-08 5:37
Bijay Bhaskar Deo10-May-08 5:37 
AnswerRe: .Net framework 3.0 Pin
Dave Kreskowiak10-May-08 6:17
mveDave Kreskowiak10-May-08 6:17 
QuestionUnfocus control Pin
kensai10-May-08 4:05
kensai10-May-08 4:05 
AnswerRe: Unfocus control Pin
CodingYoshi10-May-08 9:55
CodingYoshi10-May-08 9:55 
GeneralRe: Unfocus control Pin
kensai10-May-08 12:56
kensai10-May-08 12:56 
GeneralRe: Unfocus control Pin
Dave Kreskowiak10-May-08 13:13
mveDave Kreskowiak10-May-08 13:13 
GeneralRe: Unfocus control Pin
kensai10-May-08 22:20
kensai10-May-08 22:20 
GeneralRe: Unfocus control Pin
Dave Kreskowiak11-May-08 8:34
mveDave Kreskowiak11-May-08 8:34 
QuestionAssemblies Pin
MrColeyted9-May-08 22:22
MrColeyted9-May-08 22:22 
AnswerDouble Post - Please Ignore Pin
Giorgi Dalakishvili10-May-08 5:13
mentorGiorgi Dalakishvili10-May-08 5:13 
Questionhow to find a version of DLL Pin
Sujit Gupta9-May-08 7:01
Sujit Gupta9-May-08 7:01 
AnswerRe: how to find a version of DLL Pin
CodingYoshi9-May-08 13:59
CodingYoshi9-May-08 13:59 
QuestionRemoting issue Pin
Siddharth Rastogi8-May-08 22:58
Siddharth Rastogi8-May-08 22:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.