-
problem in XOR of private key using public key....
hi,
In my application , i am generating public key and private key using RSA algo and using 1024 bytes.
and i am storing that keys in file.
that is completed fine..
now, my requirement is that i have to store private key in some secure way.
so, now have encrypt that private key.so, i have to XOR private key using public key..
i.e. privatekey ^ publickey
and after that i have to store public key and encrypted private key in file..
so, when i encrypt file, i am using public key.
and for decryption i use that private key..
but before using private key, i have to XOR that using public key.
so, i again get orignal priavate key....
so, who i can do this ?
i try hard but there is problem that i get bytes from private key it is ok, but how i can get again private key from bytes.
and size of both public key and private key byte is not same, so problem in XOR process.
pls, help me..?
is there any wany so i can store my private key in some secure way ?
Similar Threads
-
By beegee123 in forum Java
Replies: 3
Last Post: 04-21-2006, 03:46 PM
-
Replies: 4
Last Post: 04-14-2006, 09:09 AM
-
By mdengler in forum ASP.NET
Replies: 0
Last Post: 11-26-2002, 03:32 PM
-
By pavel in forum VB Classic
Replies: 0
Last Post: 10-17-2001, 08:06 PM
-
By Andrew McLellan in forum Java
Replies: 3
Last Post: 05-09-2001, 05:34 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|