Feeds

Microsoft eggheads publish JavaScript crypto code for devs

W3C WebCrypto for cloud

The essential guide to IT transformation

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

Next gen security for virtualised datacentres

More from The Register

next story
Ice cream headache as black hat hacks sack Dairy Queen
I scream, you scream, we all scream 'DATA BREACH'!
Goog says patch⁵⁰ your Chrome
64-bit browser loads cat vids FIFTEEN PERCENT faster!
NIST to sysadmins: clean up your SSH mess
Too many keys, too badly managed
Scratched PC-dispatch patch patched, hatched in batch rematch
Windows security update fixed after triggering blue screens (and screams) of death
Researchers camouflage haxxor traps with fake application traffic
Honeypots sweetened to resemble actual workloads, complete with 'secure' logins
Attack flogged through shiny-clicky social media buttons
66,000 users popped by malicious Flash fudging add-on
New Snowden leak: How NSA shared 850-billion-plus metadata records
'Federated search' spaffed info all over Five Eyes chums
Three quarters of South Korea popped in online gaming raids
Records used to plunder game items, sold off to low lifes
Oz fed police in PDF redaction SNAFU
Give us your metadata, we'll publish your data
prev story

Whitepapers

5 things you didn’t know about cloud backup
IT departments are embracing cloud backup, but there’s a lot you need to know before choosing a service provider. Learn all the critical things you need to know.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Backing up Big Data
Solving backup challenges and “protect everything from everywhere,” as we move into the era of big data management and the adoption of BYOD.
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.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?