HTML5 Zone is brought to you in partnership with:

Hirvesh Munogee is a freelance web developer who also happens to have a passion for blogging. Hirvesh is a DZone MVB and is not an employee of DZone and has posted 177 posts at DZone. You can read more from them at their website. View Full User Profile

PolyCrypt - A JavaScript Library Implementing The WebCrypto Polyfill

01.13.2013
| 3259 views |
  • submit to reddit

PolyCrypt is a JavaScript library which implements the  W3C WebCrypto API for the DOM.  This API is meant to expose a JavaScript interface to your web applications for performing various cryptographic tasks such as hashing, signature generation and verification, and encryption and decryption.

Additionally, it describes an API for applications to generate and/or manage the keying material necessary to perform these operations. This API is meant to be used for user/service authentication, document/code signing as well as for ensuring confidentiality and integrity of communications.

While the WebCrypto  API is still a work in progress, PolyCrypt is an implementation of the API in pure JavaScript, which can be used as a testing ground for the new API or as a polyfill for browsers which will not be able to upgrade to implement the WebCrypto API.

Requirements: None
Demo:http:/ / polycrypt. net/
License: BSD



Published at DZone with permission of Hirvesh Munogee, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)