Skip to content

Very simple implementation example of the RSA algorithm.

License

Notifications You must be signed in to change notification settings

firleaf/rsa-example-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rsa-example

Very dirty implementation example of the RSA algorithm. Meant only for learning purposes.

Usage

Run

bun run rsa -- [--options]

Options

Option Default Description
--message="Hello World" "Hello World" Set a message to be encrypted.
--length=16 16 Select the key length. Has to be divisible by 2.
--e= undefined Set the public key exponent rather than letting the algorithm choose.

About

Very simple implementation example of the RSA algorithm.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published