Feeds

Microsoft eggheads publish JavaScript crypto code for devs

W3C WebCrypto for cloud

Securing Web Applications Made Simple and Scalable

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. ®

Mobile application security vulnerability report

More from The Register

next story
NEW, SINISTER web tracking tech fingerprints your computer by making it draw
Have you been on YouPorn lately, perhaps? White House website?
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
LibreSSL RNG bug fix: What's all the forking fuss about, ask devs
Blow to bit-spitter 'tis but a flesh wound, claim team
Black Hat anti-Tor talk smashed by lawyers' wrecking ball
Unmasking hidden users is too hot for Carnegie-Mellon
Manic malware Mayhem spreads through Linux, FreeBSD web servers
And how Google could cripple infection rate in a second
NUDE SNAPS AGENCY: NSA bods love 'showing off your saucy selfies'
Swapping other people's sexts is a fringe benefit, says Snowden
Own a Cisco modem or wireless gateway? It might be owned by someone else, too
Remote code exec in HTTP server hands kit to bad guys
prev story

Whitepapers

Reducing security risks from open source software
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Application security programs and practises
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.