29 June 2010

Implementation of RSA encryption/decryption algorithm in java

Introduction:-RSA is basically an asymmetric encryption /decryption algorithm. It was proposed by Rivest, Shamir, and Adleman.
It is asymmetric in the sense, that here public key distributed to all through which one can encrypt the message and private key which is used for decryption is kept secret and is not shared to everyone .
Here in order to accomplish the task we require following
1:-Modulus
2:-public key
3:-Private key

23 June 2010

Digital Signatures

Digital Signatures
Basically Network Security has four aspects that are integrity, privacy, authentication, non-repudiation.
Of all these Digital signatures covers three ie integrity,authentication and non-repudiatation.
Most of websites such as paypal.com, amazon.com and many more use these techniques for authentication of user
Say, you have some message or a file.
You want to send it to some place, now receiver wants some mechanism so that it can ensure that message that it has received is sent by intended user
Now question is how?
So for that we use concept of digital signatures
Here we use RSA asymmetric encryption/decryption algorithm where there are two keys named public key which is publically distributed and private key is kept secret
But since this algorithm is suitable for only short messages, so we generate digest of that message.
We use either MD5 or SHA1 algorithms to generate digest of the message.
Now the generated digest is then encrypted by sender by using his own private key, the encrypted digest is then appended with original message and send towards receiver.
Now at receiver side, it performs three steps
1:- decrypt the digest and retrieves the original digest.
2:-Generates a digest from original message.
3:-Compares both if both are same then it means message is sent by intended user
Hence it authenticates the user.
Diagrammatic representation of the whole procedure:-

At Sender side:-




At Receiver side:-



if both matched then it means user is authenticated else the message is rejected

Note :-Keeping visiting blog for code of this whole procedure in java


20 June 2010

Email Forgery!!!! How to detect it?.

It is very easy trick that some people use to fraud someone

say i created a professional looking email by using name of IBM that you are offering one job and for that you have to pay 25000 rs

obviously many job seekers can be easily fooled by this .

In order to make it more reliable they can use even name of IBM by using their id

I mean i can send email to anyone by using id of ibm in that case they will easily gain your trust

This is known as email forgery

Precautions

whenever you get such kind of mail then do check mail header .I don't know how to check this in yahoo but in gmail on right hand side there will be a button named 'replyto'
click on that you will see option named original mail just click on that you will get all the information about that mail there you can get source ip of mail..and other information like location from where this email originates

If you have any query regarding this post it here i will try to clarify it


17 June 2010

Download any vedio without any requirement of youtube downloader



If you want to download any video from youtube without use of any you tube downloader then you can use the following link



just copy the url of video and paste it on appropriate location in file2hd.com

it will provide you list of links of video

Just click on that link and downloading will start


16 June 2010

How to change extension of a program or software?

Sometimes we need to change extension of a program that you can easily change by going through following steps

Go to My computer ->tools->folder options
click on view menu

you will see a option named ;Hide extension of known file types

If it is checked UN-check it and click on apply




15 June 2010

Earn money through internet

Money!!!!!!!!
Every one wants to earn money. Most people say “Earning money easily is not everyone's cup of tea”. But I say no yeah ,you can
How????????????????
As we all know today internet has so much revalorized that it has reached every home. Many of my friends ask me "what is the easiest way of earning money through internet".
So this post is dedicated to those who want to earn money...
Here are some ways to earn money through internet.
1:-Create a blog, website try to gain more and more traffic then create a Google ad sense account and embed the code provided by them to your website, for every click you will be paid in dollars.
There are some terms and conditions for this .There are some other web site where you can create account and get code to embed for ads like www.adbrite.com,YPN and lots more .You can search on Google for them
2:-eBay. In, it is one most tested method of earning money here you can sell products from your chair.
You can even sell products of other sellers and get commission from them.
3:-For coders, many of the programmers want to know, Can we earn money through internet by using our programming skills, yes you can
There are many commercial websites, there you can bid for the software’s you can develop, there will be a deadline for that and you have to finish that work within that deadline.
Here are some websites like odesk.com, freelancer and lots more, you can search on internet
Note :-You will find a lot of methods on Google for earning money like filling survey ,clicking websites .They all are nothing but waste of time .There is no easy of earning money .You have to work hard for that .All it requires a lot of dedication.