• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Machine id for encryption

 
Quentin Chan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I need to create a java program that will encrypt a file (maybe using twofish) based on unique ID for the key. (I was thinking something like our computer machine ID)
So no one can decrypt the file from other computer (unless they know my machine ID).
I've been searching the API but couldn't get it.
Has anyone ever done this before ?
Any other suggestion of doing this ?
Many thanks in advance
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know of any API that will do that. Not all machines have unique IDs and it is obviously an OS and hardware specific issue. What kind of files do you want to encrypt?
 
Quentin Chan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is really simple text file.
The file will contain userId and password to login to server.
I need to create a java app that will encrypt that store id & pwd.
My logon program will decrypt that file and use it for login.
Thanks...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic