Jump to content

_StringEncrypt is returning ""


Recommended Posts

$buffer = StringToBinary("Hello - ä½ å¥½", 4)

$output = "StringToBinary Returned: " & $buffer & @CRLF

MsgBox(4096, "String() representation" , $buffer)

$buffer = BinaryToString($buffer, 4)

$output &= "BinaryToString Returned:" & $buffer & @CRLF

MsgBox(4096, "BinaryToString() ANSI representation" , $buffer)

ClipPut ($output)

Edited by Bert
Link to comment
Share on other sites

  • Replies 208
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

0x48656C6C6F202D20E79BB2E9998620E6B093E6A5BCE99986
Hello - 盲陆 氓楼陆

Dont know what the hell is that -.-

Ok. Now we're getting somewhere.

What language is your system? What is your keyboard type?

Link to comment
Share on other sites

Link to comment
Share on other sites

Now what..

Mmmm... we've established it's a problem with BinaryToString parsing values like ä. But what to do now I'm not sure. Just give me a sec to find something else we can test with.
Link to comment
Share on other sites

StringToBinary("ä", 2)

StringToBinary("ä", 3)

And --------------------------------------

$text = @ProcessorArch & @CRLF

$text &= @OSBuild & @CRLF

$text &= @OSTYPE & @CRLF

$text &= @OSVersion

MsgBox (0, "", $text)

Edited by Bert
Link to comment
Share on other sites

Replying to your edit :

All those returned

<-- Thats an empty string that String2Binary returned
   <-- Thats an empty string that String2Binary returned too
X86
2600
WIN32_NT
WIN_XP
Well I'm stumped now. Maybe a dev will pop their head in later, so I'm not sure what else I can do.
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...