Skip to content

Navigation Menu

Sign in
Appearance settings
Sign up
Appearance settings
Open more actions menu

Repository files navigation

AES Encryption POC

This is a proof of concept for AES encryption using the crypto-js module. It demonstrates how to encrypt and decrypt data using AES-256-CBC. More functionality can be added as needed.

Stack

  • Vite - A fast build tool that focuses on speed and performance.
  • React - A JavaScript library for building user interfaces.
  • TypeScript - A superset of JavaScript that adds static types.
  • Tailwind CSS - A utility-first CSS framework for rapid UI development.
  • ESLint - A static code analysis tool for identifying problematic patterns in JavaScript code.
  • Prettier - An opinionated code formatter that enforces a consistent style.
  • Crypto-JS - A JavaScript library of crypto standards to perform encryption and decryption.

Getting Started

To get started, clone the repository and install the dependencies:

git clone
cd aes-encryption-poc
npm install

Running the Application

To run the application, use the following command:

npm run dev

This will start the development server and open the application in your default web browser.

Building the Application

To build the application for production, use the following command:

npm run build

This will create a production-ready build of the application in the dist directory.

Currently, two official plugins are available:

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default tseslint.config({
  extends: [
    // Remove ...tseslint.configs.recommended and replace with this
    ...tseslint.configs.recommendedTypeChecked,
    // Alternatively, use this for stricter rules
    ...tseslint.configs.strictTypeChecked,
    // Optionally, add this for stylistic rules
    ...tseslint.configs.stylisticTypeChecked,
  ],
  languageOptions: {
    // other options...
    parserOptions: {
      project: ['./tsconfig.node.json', './tsconfig.app.json'],
      tsconfigRootDir: import.meta.dirname,
    },
  },
})

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default tseslint.config({
  plugins: {
    // Add the react-x and react-dom plugins
    'react-x': reactX,
    'react-dom': reactDom,
  },
  rules: {
    // other rules...
    // Enable its recommended typescript rules
    ...reactX.configs['recommended-typescript'].rules,
    ...reactDom.configs.recommended.rules,
  },
})

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.