---
title: "Discussion on \"Cryptography in React with CryptoJS\" | Hashnode"
description: "Discussion on \"Cryptography in React with CryptoJS\". I was looking for way to encrypt a JWT token that's when I found out about an npm package crypto-js. This package is used for hashing & encryption. This is a guide how to use crypto-js.\n1. Installation\nnpm install crypto-js\n2. Import in JS file\nimpor..."
url: "https://hashnode.com/posts/cryptography-in-react-with-cryptojs/6470543e80ee6be7a6363e1b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Cryptography in React with CryptoJS](https://reversezomb.hashnode.dev/cryptography-in-react-with-cryptojs?utm_source=hashnode&utm_medium=feed)

I was looking for way to encrypt a JWT token that's when I found out about an npm package crypto-js. This package is used for hashing & encryption. This is a guide how to use crypto-js. 1. Installation npm install crypto-js 2. Import in JS file impor...

May 26, 2023 · 2 min read · reversezomb.hashnode.dev  
Read the article

-   [#crypto-js](https://hashnode.com/tag/crypto-js)
-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[Shubham Suryavanshi](https://hashnode.com/@ReverseZomB)

@ReverseZomB

  
[View profile](https://hashnode.com/@ReverseZomB)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
