Jump to content

UDF _StringEncrypt() doesn't work


Recommended Posts

I tested UDF _StringEncrypt() under Autoit 3.3.0.0 and it doesn't work.

Even I tried the example program from Help and with different length of password, the encrypted string is still blank.

Can anyone confirm it?

Edited by NiTroGen
Link to comment
Share on other sites

I tested UDF _StringEncrypt() under Autoit 3.3.0.0 and it doesn't work.

Even I tried the example program from Help and with different length of password, the encrypted string is still blank.

Can anyone confirm it?

I try an example from the Help File, and everything works fine.
Link to comment
Share on other sites

Func _StringEncrypt($i_Encrypt, $s_EncryptText, $s_EncryptPassword, $i_EncryptLevel = 1)
    If $i_Encrypt <> 0 And $i_Encrypt <> 1 Then
        SetError(1)
        Return ''
    ElseIf $s_EncryptText = '' Or $s_EncryptPassword = '' Then
        SetError(1)
        Return ''
    Else

@error may occur in the interpretation of these two cases. To thought.

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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