Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

160
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda