A
A
Artem2016-01-05 22:41:46
PHP
Artem, 2016-01-05 22:41:46

How to convert the number 568be27e005bd6b61a8b4567?

There are numbers like this: 568be27e005bd6b61a8b4567
You need to make something like this out of them: hcDlEnvS
How to do it? The number is huge, with the help of php, as soon as he tries, he makes mistakes during the conversion.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
R
Rsa97, 2016-01-05
@ber_enot

Base 16 - 4 bits
Base 64 - 6 bits
Accordingly, we read three characters from the right (12 bits) from the string, consider them as an integer, divide into two parts of six bits, make up part of the new string from two corresponding characters. Taking the 64-digit alphabet [[email protected]#]
568be27e005bd6b61a8b4567 16
567 16 = 0101'0110'0111 2 = 010101'100111 2 = Ld 64
8b4 16 = 1000'1011'0100 2 = 1010 Yq 64 ... 568 16 = 0101'0110'1000 2 = 010101'101000 2 = Le 64
568be27e005bd6b61a8b4567 16 = LelYVW1RrROQYqLd 64

S
Sergey, 2016-01-05
Protko @Fesor

your string is a number in hexadecimal notation. We translate into a number system with a higher base (64 for example) and rejoice.

D
Dima, 2016-01-05
@CrazyFail

As they write to you in the comments, most likely, this is an encrypted set of characters (password, something else). MD5 cannot be decrypted using PHP, and in general, as far as I know, you can only use rainbow tables (already generated hashes).

V
Vlad Zhivotnev, 2016-01-05
@inkvizitor68sl

https://secure.php.net/manual/en/function.base-con...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question