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

154
Views
Can the crypto module replace bcryptjs and jsonwebtoken, and would you recommend it?

I know that the crypto module is fairly new but from what I've seen it's quite powerful and could do what these two packages are able to. Can't this module just replace these two packages or am I missing something here?

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

0

It is possible to only use the ceypto module, but it provides a low-level API. To properly sign, verify, encrypt or decrypt JWTs, you would need to implement methods which will use the crypto API. Using libraries is just simpler, and if you use popular libraries you have more certainty that they implemented the standards in the right way. When choosing a library for handling JWTs it's best to try to find one with minimal dependencies, as they should, as you noticed, mainly use the crypto module.

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!