Jump to content

Recommended Posts

Posted

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.

Posted

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.

Posted

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"

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...