Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

220
Views
How do I securely client-side cache an encryption password in React/Next?

I made a file encryption app that takes a password to encrypt files. I want to cache the password the user typed in client-side, even after page changes, so that they don’t have to keep typing in their password each time they access the encryption page. What’s the best way to do this?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You should have no problem storing this as a cookie (just like a session cookie from a login). You should additionally encrypt it before setting it as a cookie so that if someone gets hijacked the attacker won't get access to the plaintext password. Also, make sure to set a reasonable expiration on it.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!