{"id":171368,"date":"2014-06-17T14:49:45","date_gmt":"2014-06-17T14:49:45","guid":{"rendered":"https:\/\/www.microsoft.com\/en-us\/research\/project\/msr-javascript-cryptography-library\/"},"modified":"2020-05-19T15:49:27","modified_gmt":"2020-05-19T22:49:27","slug":"msr-javascript-cryptography-library","status":"publish","type":"msr-project","link":"https:\/\/www.microsoft.com\/en-us\/research\/project\/msr-javascript-cryptography-library\/","title":{"rendered":"MSR JavaScript Cryptography Library"},"content":{"rendered":"

The MSR JavaScript Cryptography Library has been migrated to GitHub. The latest version, v1.6.0, is available here: https:\/\/github.com\/microsoft\/MSR-JavaScript-Crypto<\/a><\/p>\n

The\u00a0MSR JavaScript Cryptography Library has been developed for use with cloud services in an HTML5 compliant and forward-looking manner. The algorithms are exposed via the W3C WebCrypto interface, and are tested against the Internet Explorer 11 implementation of that interface. The library currently supports RSA encrypt\/decrypt (PKCS#1 v1.5, OAEP, and PSS), AES-CBC and GCM encrypt\/decrypt, SHA-256\/384\/512, HMAC with supported hash functions, PRNG (AES-CTR based) as specified by NIST, ECDH, ECDSA, and KDF (Concat mode). The W3C WebCrypto interface does not yet implement promises. The library is tested on IE8,9,10,11, and latest Firefox, Chrome, Opera, and Safari browsers.<\/p>\n

This library includes big number integer arithmetic to support the aforementioned cryptographic algorithms. It supports unsigned big integer arithmetic with addition, subtraction, multiplication, division, reduction, inversion, GCD, extended Euclidean algorithm (EEA), Montgomery multiplication, and modular exponentiation. It provides useful utility functions, such as endianness management and conversion routines. The big integer library is likely to change in future releases.<\/p>\n

There are also unit tests and some sample code.\u00a0\u00a0This library is under active development. Future updates to this library may change the programming interfaces.<\/p>\n

The latest release, v1.4 includes support for the latest ECC NUMS curves (see here<\/a>). The API has been updated to be compliant with the latest W3C specification, making our library compatible with the latest Web Crypto API implementations of Microsoft Edge, Chrome, Opera, and Firefox.<\/p>\n

The library\u00a0has also\u00a0switched from event-based calls to Promises. This changes the way results are returned asynchronously. Please note that these are breaking changes for our existing customers, however as there is no update to the underlying cryptography, there is no need to take this update until you need these features. The samples and tests have been updated to use the new API calls, and the readme has expanded content based upon frequently asked questions from developers.<\/p>\n

The MSR JavaScript Cryptography Library is now released under\u00a0the Apache license version 2.0.<\/p>\n

Discussion or comments?\u00a0 Please email us at msrsc@microsoft.com<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"

The MSR JavaScript Cryptography Library has been migrated to GitHub. The latest version, v1.6.0, is available here: https:\/\/github.com\/microsoft\/MSR-JavaScript-Crypto The\u00a0MSR JavaScript Cryptography Library has been developed for use with cloud services in an HTML5 compliant and forward-looking manner. The algorithms are exposed via the W3C WebCrypto interface, and are tested against the Internet Explorer 11 implementation […]<\/p>\n","protected":false},"featured_media":0,"template":"","meta":{"msr-url-field":"","msr-podcast-episode":"","msrModifiedDate":"","msrModifiedDateEnabled":false,"ep_exclude_from_search":false,"_classifai_error":"","footnotes":""},"research-area":[13558],"msr-locale":[268875],"msr-impact-theme":[],"msr-pillar":[],"class_list":["post-171368","msr-project","type-msr-project","status-publish","hentry","msr-research-area-security-privacy-cryptography","msr-locale-en_us","msr-archive-status-active"],"msr_project_start":"2014-06-17","related-publications":[],"related-downloads":[],"related-videos":[],"related-groups":[],"related-events":[],"related-opportunities":[],"related-posts":[],"related-articles":[],"tab-content":[],"slides":[],"related-researchers":[{"type":"user_nicename","display_name":"Christian Paquin","user_id":31473,"people_section":"Group 1","alias":"cpaquin"},{"type":"user_nicename","display_name":"Karen Easterbrook","user_id":32510,"people_section":"Group 1","alias":"keaster"}],"msr_research_lab":[],"msr_impact_theme":[],"_links":{"self":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-project\/171368"}],"collection":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-project"}],"about":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/types\/msr-project"}],"version-history":[{"count":6,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-project\/171368\/revisions"}],"predecessor-version":[{"id":645243,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-project\/171368\/revisions\/645243"}],"wp:attachment":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/media?parent=171368"}],"wp:term":[{"taxonomy":"msr-research-area","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/research-area?post=171368"},{"taxonomy":"msr-locale","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-locale?post=171368"},{"taxonomy":"msr-impact-theme","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-impact-theme?post=171368"},{"taxonomy":"msr-pillar","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-pillar?post=171368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}