Jump to content

Decryption

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
Cyber Null

Cyber Null

    Newbie

  • Members
  • Pip
  • 1 posts
How can i make application which can encrypt and decrypt password in files. Its a application for locking folders and files. I was wondering how code for that may look?

#2
BlaineSch

BlaineSch

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,448 posts
You shouldn't decrypt passwords. You can use all sorts of them however, md5, sha1, etc.

#3
LuthfiHakim

LuthfiHakim

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 765 posts
Yupe, Blaine is right. You could, but you should not. By decrypting, the password is much more vulnerable to be stolen. Hashing is the way you should do. Blaine had mentioned some popular hashing methods/algorithm. By hashing you calculate new value based on the password. The new value however can not be reversed, i.e. the original content is lost.

I don;t know which VB you are using, but in VB.NET I believe there is a library that provides popular hashing methods.