Sign in to follow this  
Followers 0
NiTroGen

UDF _StringEncrypt() doesn't work

4 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Failure: Blank string and @error = 1

Share this post


Link to post
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.

Share this post


Link to post
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
Sign in to follow this  
Followers 0