Next.js Discord

Discord Forum

How to add encryption?

Unanswered
Red-footed Booby posted this in #help-forum
Open in Discord
Red-footed BoobyOP
I just finished coding my first complete next js app with next auth. What is the best way to add encryption?

8 Replies

Red-footed BoobyOP
For stuff like user authentication and sensitive information
@Red-footed Booby For stuff like user authentication and sensitive information
for cookies you use libs like jose and sensitive info i think bcrypt
@Red-footed Booby For stuff like user authentication and sensitive information
in which part do you need encryption?
Roadside Hawk
i think u can use bcrypt module
Roadside Hawk
if u need more details about bcrypt, i will show u
but in my opinion, for only user authentication and sensitive info, we normally use hash
i think it is enough