This article is more than 1 year old

Microsoft eggheads publish JavaScript crypto code for devs

W3C WebCrypto for cloud

Microsoft Research has published an under-development JavaScript crypto library, for exposure to developers and researchers interested in cloud and browser security.

Designed to work with HTML5-compliant cloud services, the Microsoft Research JavaScript Cryptography Library uses the W3C WebCrypto API to expose crypto functions, and Redmond says it's tested the software against IE11's implementation of the interface.

However, the library isn't confined to IE11: the company says it's been tested on all Internet Explorer versions from IE8 up, as well as the current Firefox, Chrome, Opera and Safari browsers.

Supported crypto functions in the library include RSA PKCS#1 v1.5, OAEP and PSS; its psuedo-random number generator (PRNG) follows the AES-CTR spec; and NIST's Concat KDF (key derivation function).

The big number integer arithmetic in the library, which includes “addition, subtraction, multiplication, division, reduction, inversion, GCD, extended Euclidean algorithm (EEA), Montgomery multiplication, and modular exponentiation”, and MS notes that this library will probably be replaced in future versions.

MS notes that most of the W3C WebCrypto API – here if you're interested – is supported, with the exception of “promises”.

Since it's still under development, the library should probably be used with the usual “at own risk” caveat for now. ®

More about

More about

More about

TIP US OFF

Send us news


Other stories you might like