Replies: 1 comment
-
That's a pretty vague question and the answer is: depends on your usecase. It is very unlikely however you will fulfill your crypto needs with just a bunch of wrapper packages. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm a semi-new programmer building my first REST API using express. The frontend will be a React app. For authentication I have my users get an authentication code from Discord, send it to my backend, and then I use it to get their Discord user ID. Then I use express-sessions to send them a session cookie for other requests that may require privileges.
My question is, do I need to be using the crypto module myself at all? Perhaps for the initial authentication process? Or are the libraries I'm using handling that for me? I would like to have everything run over HTTPS and for the API to send an error for other requests.
I apologize if this isn't the right place for this question, but frankly I'm not sure where else I should ask it. I've spent a couple of hours on google but I wasn't able to find a clear answer.
Beta Was this translation helpful? Give feedback.
All reactions