Click here to Skip to main content
15,914,070 members
Home / Discussions / C#
   

C#

 
GeneralRe: What is the difference between Excel2003 Addin and Excel2003 Workbook project in c#2008 Pin
Mogaambo13-Aug-08 6:07
Mogaambo13-Aug-08 6:07 
GeneralRe: What is the difference between Excel2003 Addin and Excel2003 Workbook project in c#2008 Pin
Manas Bhardwaj13-Aug-08 6:09
professionalManas Bhardwaj13-Aug-08 6:09 
GeneralRe: What is the difference between Excel2003 Addin and Excel2003 Workbook project in c#2008 Pin
Mogaambo13-Aug-08 6:21
Mogaambo13-Aug-08 6:21 
QuestionHow to change bgcolor of webbrowser control? Pin
wajans13-Aug-08 5:04
wajans13-Aug-08 5:04 
AnswerRe: How to change bgcolor of webbrowser control? Pin
Manas Bhardwaj13-Aug-08 5:27
professionalManas Bhardwaj13-Aug-08 5:27 
AnswerRe: How to change bgcolor of webbrowser control? Pin
lisan_al_ghaib13-Aug-08 5:38
lisan_al_ghaib13-Aug-08 5:38 
QuestionEncryption methods Pin
Jackeli13-Aug-08 4:39
Jackeli13-Aug-08 4:39 
AnswerRe: Encryption methods Pin
Green Fuze13-Aug-08 5:26
Green Fuze13-Aug-08 5:26 
Hey Jackeli

"Strong encryption" methods are not something we just sit and come up with, There are cryptographers and cryptanalysts that this is what they're doing.
They come up with "Strong Encrpytions" (and try to break them...).
So if you want to use a "strong encryption", you just need to learn how to use one.

I'll try to explain a little bit about it, but before you get down to the code you need to plan a little bit how you're going to do what you want, that is, encrypt the given text in such a way only certain people will be able to see it.

I think what you are looking for is called "Symmetric encryption" (There are "ASymmetric encryptions" as well), so I'll explain a little bit about it (not technical stuff, but the idea, so you will understand better what you're going to do).
- "Symmetric encryption" means that if you encrypt text with a certain KEY, we need that exact KEY to decrypt. What is a KEY? it can be a password, passphrase, a file. In other words, a KEY is an array of bytes (byte[]).
using this KEY we encrypt and decrypt the text.

So if we'll look at the page you want to write, it means, that I can write a certain sentence, like: "This is my hidden message", and encrypt is using the password "Secret Password!".

Now, if I want you to read my message, you need to know the password. So I will need to tell you the password somehow, only then you can go to the website, and use the password "Secret Password!" and reveal the encrypted text: "This is my hidden message".

This is the tip of the ice burg.
Today's standard symmetric encryption is called "AES", and C# libraries are giving you a method that is doing just what you want (There are many other methods, but I think you should focus one).
Look for it a little bit in codeproject and you will find plenty of examples on how to do it, and other stuff I didn't quite got into in this example (the more technical stuff).

I hope it helped!
Good Luck!
AnswerRe: Encryption methods Pin
J4amieC13-Aug-08 5:34
J4amieC13-Aug-08 5:34 
QuestionScrollbars in DataGridView on form as Tabcontrol don't work Pin
RobScripta13-Aug-08 4:23
professionalRobScripta13-Aug-08 4:23 
AnswerRe: Scrollbars in DataGridView on form as Tabcontrol don't work Pin
RobScripta13-Aug-08 5:44
professionalRobScripta13-Aug-08 5:44 
QuestionConverting vox to mp3 Pin
Sachin Pimpale13-Aug-08 3:44
Sachin Pimpale13-Aug-08 3:44 
AnswerRe: Converting vox to mp3 Pin
vikas amin13-Aug-08 4:42
vikas amin13-Aug-08 4:42 
QuestionCan you find relation between "4&32BEFC79&0&0.0.0" and "WD-WCANKF003333" Pin
god4k13-Aug-08 3:35
god4k13-Aug-08 3:35 
AnswerRe: Can you find relation between "4&32BEFC79&0&0.0.0" and "WD-WCANKF003333" Pin
Manas Bhardwaj13-Aug-08 3:45
professionalManas Bhardwaj13-Aug-08 3:45 
GeneralRe: Can you find relation between "4&32BEFC79&0&0.0.0" and "WD-WCANKF003333" Pin
god4k13-Aug-08 4:25
god4k13-Aug-08 4:25 
AnswerRe: Can you find relation between "4&32BEFC79&0&0.0.0" and "WD-WCANKF003333" Pin
#realJSOP13-Aug-08 4:59
professional#realJSOP13-Aug-08 4:59 
GeneralRe: Can you find relation between "4&32BEFC79&0&0.0.0" and "WD-WCANKF003333" Pin
god4k13-Aug-08 5:28
god4k13-Aug-08 5:28 
QuestionImage File Question Pin
MumbleB13-Aug-08 1:15
MumbleB13-Aug-08 1:15 
AnswerRe: Image File Question Pin
Christian Graus13-Aug-08 1:22
protectorChristian Graus13-Aug-08 1:22 
GeneralRe: Image File Question Pin
MumbleB13-Aug-08 1:45
MumbleB13-Aug-08 1:45 
GeneralRe: Image File Question Pin
Manas Bhardwaj13-Aug-08 2:15
professionalManas Bhardwaj13-Aug-08 2:15 
GeneralRe: Image File Question Pin
Christian Graus13-Aug-08 2:27
protectorChristian Graus13-Aug-08 2:27 
AnswerRe: Image File Question Pin
Jonathan C Dickinson13-Aug-08 2:19
Jonathan C Dickinson13-Aug-08 2:19 
QuestionIntegration with MSDN Pin
_str_6113-Aug-08 0:20
_str_6113-Aug-08 0:20 

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.