Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Hi everyone
I'm a begginer in cryptography, and soon we will have an assignment to implement digital signature. I've seen around for dome tutorials or step by step implementations, but can't find any
If you could be nice to direct me on some simple examples, aplications or implementations i will really appreciate that
thnx in advance
Posted 20-Jan-13 14:09pm
vjena392
Edited 20-Jan-13 14:10pm
v2

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

First of all, it's all already well implemented in .NET. Moreover, the digital signature itself is used in the very basic layers of .NET, first of all, due to the strongly-named assemblies (http://en.wikipedia.org/wiki/Strong_name[^]).
 
So, there is nothing you will really have to implement. What is really required of you, is understanding of what digital signature really does. I am very frustrated by the fact that too many developers, even those actually using digital signatures, really have no clue on what it does.
 
And another frustrating factor is your request for "step-by-step instructions". I always had a problem explaining to such people why such approach is counter-productive (even though it can be useful in some fields, but only on some stages). A while ago, I came up with the formula which should be more effective. I started to say: if the step-by-step instruction was possible and made any sense, I would easily write the application which actually does all those steps, this way eliminating you from the process. I want to believe, that you only wanted it to quickly overview what's involved, to understand what's going on later.
 
In this field, however, understanding is the main thing, as the "steps" themselves are next to nothing, but understanding is not trivial at all. And, for understanding, you need to read on the very basics really, really carefully. Warning! illusory knowledge is very usual in this fields, so again, very carefully:
http://en.wikipedia.org/wiki/Digital_signature[^],
it is based on http://en.wikipedia.org/wiki/Public-key_encryption[^], pay the most attention to this article,
it is important to understand: http://en.wikipedia.org/wiki/One-way_function[^],
one of the most widely used algorithms is: http://en.wikipedia.org/wiki/RSA_%28algorithm%29[^].
 
Please follow the important references from these pages by yourself.
 
And now, implementations. You will find nearly all you need here: http://msdn.microsoft.com/en-us/library/system.security.cryptography.asymmetricalgorithm.aspx[^].
 
Good luck,
—SA
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 5,170
1 DamithSL 4,357
2 Maciej Los 3,750
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,851


Advertise | Privacy | Mobile
Web03 | 2.8.141216.1 | Last Updated 20 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100