Skip to content

brenoepics/rsa-hex-gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RSA Key Hex Pair Generator

Description

This is a simple Node.js script that generates an RSA key pair and converts the keys to hexadecimal format.

Installation

  1. Ensure you have Node.js installed on your machine.
  2. Clone this repository.

Usage

To generate an RSA key pair, simply run the script with Node.js:

npm run start

Then, you will find your RSA key pair at output/hex.env.

Packages

node:crypto - The crypto module provides a way of handling encrypted data.

node:fs - The Node.js file system module allows you to work with the file system on your computer.

node:path - The Node.js path module provides utilities for working with file and directory paths.