S
S
sparco4222017-02-14 19:36:31
PHP
sparco422, 2017-02-14 19:36:31

How to convert the string "1234" to a 32-bit block?

Please tell me, I have a string "1234" how to convert it to a 32-bit block using PHP? I'm trying to implement the TEA encryption algorithm. I will be very grateful.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2017-02-14
@sparco422

I.e? line 1234 is already a 4-byte data array, that is, a 32-bit block.
It's not very clear what exactly you need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question