Sign in to follow this  
Followers 0

Binary Convert

5 posts in this topic

#1 ·  Posted (edited)

Hello every body.

This is picture about my question



Binary 1:


Binary 2


Which func i should use to convert binary1 to binary2?

Edited by hiepxuan2008

Share this post

Link to post
Share on other sites

#3 ·  Posted (edited)

I want to get information from this binary.

Who can help me to get information from binary1 or convert binary1 to binary2 use which func?


I know get information in binary2, but binary1 I can't get information

Edited by hiepxuan2008

Share this post

Link to post
Share on other sites

#4 ·  Posted (edited)

In binary 2,

Dim $a[8], $b[8]
$a[0] = 3
$b[0] = 2 * Dec(StringMid($data, $a[0], 2))
For $j = 0 To 6
Switch $j
Case 1
    $a[$j + 1] = $a[$j] + $b[$j] + 10
Case Else
        $a[$j + 1] = $a[$j] + $b[$j] + 2
    b[$j + 1] = 2 * Dec(StringMid($data, $a[$j + 1], 2))
$gsign[$i] = _uriencode(_hextostring(StringMid($data, $a[2] + 2, $b[2])))
$session = _hextostring(StringMid($data, $a[3] + 2, $b[3]))
$mename = _hextostring(StringMid($data, $a[4] + 2, $b[4]))
$avatar = _hextostring(StringMid($data, $a[5] + 2, $b[5]))
Edited by hiepxuan2008

Share this post

Link to post
Share on other sites

Again, you are asking a question without defining what the process is to get from the first binary to the second binary string.

So, what is it you want to do?

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
Live for the present,
Dream of the future,
Learn from the past.

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