Over a million developers have joined DZone.
Platinum Partner

PolyCrypt - A JavaScript Library Implementing The WebCrypto Polyfill

· Web Dev Zone

The Web Dev Zone is brought to you by Stormpath—offering a pre-built Identity API for developers. Easily build powerful user management, authentication, and authorization into your web and mobile applications. Download this Forrester report on the new landscape of Customer Identity and Access Management.

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



The Web Dev Zone is brought to you by Stormpath—offering a pre-built, streamlined User Management API for building web and mobile applications. Check out our top pointers for designing your REST API.

Topics:

Published at DZone with permission of Hirvesh Munogee , DZone MVB .

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}