Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Maintained version of a very diffused Javascript library that performs OpenSSL RSA Encryption, Decryption, and Key Generation. Based onhttp://www.travistidwell.com/jsencrypt andhttp://www-cs-students.stanford.edu/~tjw/jsbn/ works.

License

NotificationsYou must be signed in to change notification settings

michaeldisaro/JSEncrypt

 
 

Repository files navigation

I needed to do private RSA Encryption with private key to achieve non-repudiation without digitally signing a payload.I foundhttps://travistidwell.com/jsencrypt/ based on Tom Wu's @http://www-cs-students.stanford.edu/~tjw/jsbn/.It seemed that these libraries where not maintained anymore at the end of 2020.

I forked JSEncrypt to maintain it and keep it clean.

I added working Private Key Encryption and fixed paddings for interoperability with Pkcs1Encoding by BouncyCastle (tested with C# version).

Feel free to open issues and pull requests.

TODO

  • Clean and refactor some code.
  • Security audit.
  • Write a wiki.

How to use this library

Look tohttps://github.com/michaeldisaro/jsencrypt/blob/master/demo/index.html to see how encryption works.This page is also able to generate keys for you on client side.Private Key is PKCS#1 encoded, Public Key is PKCS#8 encoded.

Other Information

Look tohttps://github.com/travist/jsencrypt/blob/master/README.md for the original documentation.

About

Maintained version of a very diffused Javascript library that performs OpenSSL RSA Encryption, Decryption, and Key Generation. Based onhttp://www.travistidwell.com/jsencrypt andhttp://www-cs-students.stanford.edu/~tjw/jsbn/ works.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript88.6%
  • TypeScript10.9%
  • Other0.5%

[8]ページ先頭

©2009-2025 Movatter.jp