computer






 

Question by  rtpinto (56)

How do I create a SHA1 Encryption program?

 
+6

Answer by  encuser (6)

It is generally advised not to create a hashing program, but rather use a pre-existing encryption library in the programming language you are using. If you want to write your own code, Wikipedia has good psuedo-code on how the SHA1 function you can translate into your desired language.

 
+5

Answer by  tim22 (52)

SHA1 is a cryptographic hash function. Most computer languages such as Java, C, PHP already have packages available that can do SHA1 hash encryption.

 
+4

Answer by  karan0007 (53)

All we have to do is to have a user type in their password and type button "Convert" label come up with encrypted string. OR like this: Imports System.Web.Security PrivateSub btnProcess_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnProcess.Click Dim encpass AsString = FormsAuthentication.HashPasswordForStoringInConfigFile(txtPassword.Text, "sha1") lblResult.Text = encpass.ToString() EndSub

 
You have 50 words left!