D
D
drowzeenico2016-02-29 15:12:50
Node.js
drowzeenico, 2016-02-29 15:12:50

Why is the sha1 hash transmitted incorrectly?

There is a mobile API on node.js that works using tokens (sha1-hash). A request is sent to it via POST. I have to validate the token and do something. But a hash like "sha1$ec175bdb$1$da6556b17bda3542b81cdff02388a3c2621939eb" comes to the server as "sha1".
Is it like that everywhere? Or maybe it's a node glitch?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Sivkov, 2016-02-29
@drowzeenico

Are you sure that the client leaves correctly?
It would also be nice to see how you accept requests.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question