Skip to content

infotechinc/digital-signature-in-browser

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

Digital Signature in the Browser

This web page with associated JavaScript creates a random RSA key pair, and allows a user to:

  • Digitally sign local files with the private key, and save the signed version
  • Verify previously signed files with the matching public key

This example is provided to illustrate how to use the W3C Web Cryptography API to perform digital signing and verifying inside a web browser. It is based on the working draft of the standard available when this example was created.

Using this example requires a web browser that implements a compatible version of the Web Cryptography API. When the example was created, current versions of the Google Chrome browser and recent nightly builds of the Firefox browser could run the example.

This is not intended to be a production tool. Rather, it may be helpful to developers who intend to create their own tools using the Web Cryptography API.

Copyright (c) 2014 Info Tech, Inc. Provided under the MIT license. See LICENSE file for details.

About

Use the Web Cryptography API to sign files, and verify the signatures.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published