Innovative Posted May 8, 2008 Posted May 8, 2008 Is there a way i can encrypt and decrypt text in SHA1 ?
SkinnyWhiteGuy Posted May 8, 2008 Posted May 8, 2008 SHA1 is a hashing algorithm, not encryption. You can not "decrypt" SHA1 like true forms of encryption. As far as generating a hash from some input, search around, there is a Plugin/dll to hash with it.
Andreik Posted May 8, 2008 Posted May 8, 2008 Is there a way i can encrypt and decrypt text in SHA1 ? Example: #compiler_plugin_funcs = SHAHash $plH = PluginOpen("SHAHash.dll") MsgBox(0, "Test SHAHash.DLL", "String 'Test String':" & @TAB & SHAHash("Test String", 2, True) & @CRLF & _ "File 'SHAHash.dll':" & @TAB & SHAHash("SHAHash.dll", 1, True)) PluginClose($plH) I hope this helps.
Siao Posted May 8, 2008 Posted May 8, 2008 SHA1 and MD5 hashing is available as Windows API, CryptHashData & co in advapi32.dll. There's no real need for third party DLLs. I think there are some crypto UDFs in example forum which provide wrappers to those API functions. "be smart, drink your wine"
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now