Live Table: https://diafygi.github.io/webcrypto-examples/
I couldn't find anywhere that had clear examples of WebCryptoAPI, so I wrote examples and made a live table with them. Pull requests welcome!
- generateKey | importKey |
[ | |
{ | |
"cve": { | |
"id": "CVE-2002-0367", | |
"published": "2002-06-25T04:00:00", | |
"last_modified": "2018-10-12T21:31:21.067000", | |
"descriptions": [ | |
{ | |
"lang": "en", | |
"value": "smss.exe debugging subsystem in Windows NT and Windows 2000 does not properly authenticate programs that connect to other programs, which allows local users to gain administrator or SYSTEM privileges by duplicating a handle to a privileged process, as demonstrated by DebPloit." |
Live Table: https://diafygi.github.io/webcrypto-examples/
I couldn't find anywhere that had clear examples of WebCryptoAPI, so I wrote examples and made a live table with them. Pull requests welcome!
// | |
// Needs web3.js from https://github.com/axic/web3.js/tree/swarm | |
// | |
var Web3 = require('web3') | |
var url = require('url') | |
var web3 = new Web3(new Web3.providers.HttpProvider('http://localhost:8545')) | |
try { | |
web3.eth.defaultAccount = web3.eth.coinbase |
# Add field | |
echo '{"hello": "world"}' | jq --arg foo bar '. + {foo: $foo}' | |
# { | |
# "hello": "world", | |
# "foo": "bar" | |
# } | |
# Override field value | |
echo '{"hello": "world"}' | jq --arg foo bar '. + {hello: $foo}' | |
{ |
npm install -g jspm@beta
jspm init
jspm install angular2 reflect-metadata zone.js es6-shim
This will create a jspm_packages
folder, and a config.js
file.
Open the config.js
file - this file manages options for the System.js loader - tweak it as appropriate