Microsoft JavaScript Cryptography Library
Written by Alex Denham   
Thursday, 26 June 2014

A cryptography library developed by Microsoft Research has been released for researchers and developers.

The library is described as being under active development. It is intended for use with HTML-5 cloud services. The algorithms in the library are exposed using the W3C Web Cryptography interface. This is an API that lets you create secure web apps without the need for a secure connection using SSL or similar protocols.

The actions specified by the Web Cryptography API let you carry out the following:

  • Multi-factor authentication
  • Protected document exchange
  • Cloud storage
  • Document signing
  • Data integrity protection
  • Secure messaging

The functions in Microsoft’s JavaScript library have been tested against Internet Explorer 11’s implementation of the Web Cryptography interface, and Microsoft has also tested the library on other browsers, specifically IE8 upwards, Firefox, Chrome, Opera and Safari.

The cryptographic functions currently included in the library start with RSA PKCS#1 v1.5, OAEP, and PSS. AES-CBC and GCM are also supported. Secure Hash Standard (SHA) 256, 384 and 512 are supported, alongside HMAC with supported hash functions, PRNG (AES-CTR based) as specified by NIST, ECDH, ECDSA, and KDF (Concat mode).

The library includes big number integer arithmetic to support the cryptographic algorithms, and this element of the library is, according to Microsoft Research, likely to change in future releases. In its current form it supports unsigned big integer arithmetic with addition, subtraction, multiplication, division, reduction, inversion, GCD, extended Euclidean algorithm (EEA), Montgomery multiplication, and modular exponentiation.

Other elements in the library are utility functions such as endianness management and conversion routines.

There is currently some controversy about the usefulness of JavaScript cryptography. The argument goes that the browser is completely insecure and to perform secure encryption in it is asking for trouble. While it is true that attacking the browser is relatively easy JavaScript encryption still provides a level of protection one up from sending data in the clear and so it has some value. 

If you download the library, you get scripts, unit tests and some sample code, and a link to Web Cryptography section of the Internet Explorer Dev Center site, but no documentation.

 cryptocartoon2

 

Banner


Qt 5.4 Released
12/12/2014

The latest version of the Qt framework has been released with revamped and renewed web support.



Google Offers Cash Incentives to US Public Schools
01/12/2014

Computer Science Education Week starts next Monday. If students want to do rather more than an hour of code, Google has partnered with Codecademy to encourage teachers in US Public Schools to adopt a  [ ... ]


More News

 

blog comments powered by Disqus

 

 

Last Updated ( Thursday, 26 June 2014 )
 
 

   
RSS feed of news items only
I Programmer News
Copyright © 2014 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.