V
V
Victor Marquardt2016-11-17 15:10:42
JavaScript
Victor Marquardt, 2016-11-17 15:10:42

Is there a universal implementation of blowfish - ecb?

Do you need an implementation of an algorithm that will work identically in C ++ and JS, if there is one at all?? I tried to take several implementations, but in the end the encryption result is different. Basically the problem is with the encoding. I tried to edit the libraries myself, but apparently I'm doing something wrong. Does not exceed. I took these libraries: for js Blowfish - ECB , c++ Blowfish - ECB . They suggested that there, up to a length of a multiple of 8, the c++ library adds the wrong characters, did it like in JS - it didn’t help. It was advised to first translate the key and text into utf 16 in c ++ - I did it, it didn’t help either.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question