Link to home
Start Free TrialLog in
Avatar of softsolvers
softsolvers

asked on

Digital Signature in Application.

Hi Fellow,
I need some urgent assistance from your side regarding digital signature,
I am a bit confuse about this concept, i had covered the theory on the Digital Sign.
Now i need some real facts about digital signature , public and private key,
My First Confusion is:
Who will generate Public and private key in the application, i means if i will add a new user in the application then who and how the Public and the private key of that user will be generated.
Second :
What will be the length of the Public and the private key( in digits) i know the key will be generated of 512,1024 bits ,but what will be the human readable lenght on the Keys, whether the keys will be in Numeric form or in Alpha Numeric for or in Hexa Decimal form,
Third confusion is:
Can we change the public ,private key of the user , then how will be encrypt/decrypt the documents.
Will the change in the keys will change the digtal signature.

forth confusion
core difference between electronic and digital signature.
Please while answering all the above queries, keep one thing in mind that i am fully aware of SHA, RSa, DES, IDEA.
please do not send any link just send me the description of the Above Questions.
ASKER CERTIFIED SOLUTION
Avatar of ErikPhilips
ErikPhilips
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of softsolvers
softsolvers

ASKER

Thanks ErikPhilips,
From Human readable length i means what will be the length of the Public and teh Private Key,
Is Public key is some thing like 395448548 ???
What is the minimum length we can assign to the Public key and the private key,
and the last one what algo we need to use to generate own public key,
What i feel right now we will take 2 prime no. and then use it to generate primary key ???is it so?????
oh, those keys are going to be HUGE.  Length is really up to you, but realize that the smaller it is, the more likely it is to break it and fake messages.  Thats the whole point of how the current Public Key/Private key system works.  Anyone could really find the key mathematically, it would just take TOO long with a large enough keys.  Some people feel safe with 1024 other feel safe with 4096.

http://triade.studentenweb.org/

Click on Gint on the left.

Download PrimeGenerator and RSA.zip.  Thats the basics of ONE type of Public Key/Private Key system.

1024 bit public key looks like:
mQCNAzED7QIAAAEEALsDjYnebiQ/WKOACOAHttKkIecDGIWOyuXCdYuuRxno5nTz
conbVColTNPxuv4eW1RqjyZncMLkMeMDMmVHxQdlrcdRZsv6qGrIVehxUfoE2dU5
kCbo9KvN/9idqhgKAH0SXXBA/wNKd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