
static.js.vendor.modernizr.feature-detects.crypto.js Maven / Gradle / Ivy
The newest version!
/*!
{
"name": "Web Cryptography",
"property": "cryptography",
"caniuse": "cryptography",
"tags": ["crypto"],
"authors": ["roblarsen"],
"notes": [{
"name": "W3C Editor's Draft",
"href": "http://www.w3.org/TR/WebCryptoAPI/"
}],
"polyfills": [
"polycrypt"
]
}
!*/
/* DOC
Detects support for the cryptographic functionality available under window.crypto.subtle
*/
define(['Modernizr', 'prefixed'], function(Modernizr, prefixed) {
var crypto = prefixed('crypto', window);
Modernizr.addTest('crypto', !!prefixed('subtle', crypto));
});
© 2015 - 2025 Weber Informatics LLC | Privacy Policy