Go Back   openSUSE Forums > Archives > SF Archives > ARCHIVES - Programming & Scripting
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Programming & Scripting A place to discuss website design, programming, shell scripts, etc

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 21-Apr-2008, 11:50
meetsaurabh_chaudhary
Guest
 
Posts: n/a
Default

i want to encrypt a particular file in such a way that it should get decrypted only on my pc...i.e i need sum encryption algorithm which will retrieve processor number or physical address at runtime and use it as key......the algo should preferably in C,C++
  #2 (permalink)  
Old 21-Apr-2008, 14:56
hooper
Guest
 
Posts: n/a
Default

Hi,

Putting together an encryption algorithm is not very difficult to do but I would be a bit concerned about tying it to one particular machine. What happens if that machine stops working?

I think you would be much better off encrypting with something like GnuPG - this would give you the advantage of a very difficult code to crack (i.e. virtually impossible), access to your data restricted to just yourself no matter which machine you're using, and it's more future proof too (i.e. you won't need to go looking for your custom built decryption algorithm in the future - you can just download GnuPG again).

If it's a file you use/modify quite regularly you could make an encrypted virtual partition which you mount when you want access to the data.

HTH, Hooper.
  #3 (permalink)  
Old 21-Apr-2008, 21:46
meetsaurabh_chaudhary
Guest
 
Posts: n/a
Default

Quote:
Hi,

Putting together an encryption algorithm is not very difficult to do but I would be a bit concerned about tying it to one particular machine. What happens if that machine stops working?

I think you would be much better off encrypting with something like GnuPG - this would give you the advantage of a very difficult code to crack (i.e. virtually impossible), access to your data restricted to just yourself no matter which machine you're using, and it's more future proof too (i.e. you won't need to go looking for your custom built decryption algorithm in the future - you can just download GnuPG again).

If it's a file you use/modify quite regularly you could make an encrypted virtual partition which you mount when you want access to the data.

HTH, Hooper.
[/b]
can u give me an algorithm rather code for that GnuPG? coz i dont want any software to do this work...i want a code..its a part of my project...so if possible plz provide me the code and sume guidelines....note: i want to run that code in opensuse 10.3.
  #4 (permalink)  
Old 22-Apr-2008, 03:48
hooper
Guest
 
Posts: n/a
Default

When you say part of your project what do you mean? Is this a college assignment or something?

Hooper.
  #5 (permalink)  
Old 23-Apr-2008, 04:09
meetsaurabh_chaudhary
Guest
 
Posts: n/a
Default

Quote:
When you say part of your project what do you mean? Is this a college assignment or something?

Hooper.
[/b]
yeah..so can u help
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2