In a blog about Finance , I think it is good to talk about an enabler of Finance - Cryptography. Today millions of dollars are being transferred all over the world on its basis alone. It secures all data traveling through the net. But how does it work ?

Let us take Jack who wants to make a deposit with his Bank. He decides to do it over the internet . But unknown to him is the fact that his soon to be ex-wife Jane, a supreme computer hacker is monitoring all data flowing from jack's computer so she can't be cheated out of any money in her settlement.

Now Jack does not know all this. He logs on to the bank's website and clicks the necessary buttons and the money goes to the bank, but this data also goes to Jane. Now can Jane find out the information from this data. In today's day and age - No. Why ?

Well Jack has used public key cryptography to ensure the safety of his data. How does this work ? Let us for simplicity imagine that if Jane knows a special number she will be able to break Jack's code. So how does Jack ensure the code remains secret ? He knows about a certain mathmetical function of the form R = p^q ( mod (N))

Now the Bank has a public key ( or say 2 number which everyone knows ) called q,N . The bank forms N by multiplying 2 prime numbers a,b ( say 3, 5 ) and chooses q which is relatively prime to the (a-1) x ( b-1 ) , say 7. In this case q=7, N = 15 ( Usually they are very large prime numbers ). It then makes it available to the public . Now say Jack wants to send the number 2 ( p) ( which tells his bank to make a deposit to his account ) to the Bank. He hence uses the formula and calculates R ( in this case R= 2^7 ( Mod (15) )= 8 )

Now Jane knows R = 8, q = 7, N =15, So she should be able to find out p easily ! Right ? Wrong ! The mathmetical function is a one-way function , which means calculating R is easy once one knows p, but it is impossible to figure out p given the value of R . But if one knows the components of N ( i.e the 2 prime numbers chosen by the bank ) one can easily calculate p by a special method given a value of R.

Thus it is possible to transmit data for Jack without Jane getting to find out about it as she can't find out p, but the bank is able to find out p, and based on it make a deposit in Jack's Account leaving Jane hanging in the air.

[Note: This is a very simplified version of explaining public key cryptography. If any one wants to know more read the book by Simon Singh called the 'Code Book']

5 comments:

Interesting example from day to day life!

Good to see the fin algos which keep us safe on the internet..!

July 13, 2008 at 4:10 PM  

Nice one doc! Although I will go through it again to understand it!

July 14, 2008 at 12:25 AM  

Hi Jas!

So busy these days...Your blog is calling you for another block bluster!!

September 4, 2008 at 7:21 PM  

2. A mutual fund is just the connecting bridge or a financial intermediary that allows a group of investors to pool their money together with a predetermined investment objective. Mutual funds are considered as one of the best available investments as compare to others they are very cost efficient and also easy to invest in, thus by pooling money together in a mutual fund, investors can purchase stocks or bonds with much lower trading costs than if they tried to do it on their own. But the biggest advantage to mutual funds is diversification, by minimizing risk & maximizing returns. Bonanza Portfolio Ltd, A leading Broking house in India brings you an Online Investment platform, http://www.bonanzafinmart.com/. Just make a one-time registration with us. In general terms investment means the use of money to make more money. This will keep a track of all the records and investments at one place which will help you to safeguard your investments.

November 14, 2012 at 3:20 PM  

I believe you have observed some very interesting details,appreciate it for the post.

GetMasterByExchange API to Returns global master records

March 28, 2013 at 4:30 PM  

Newer Post Older Post Home