{"_id":"@decentralized-identity/did-crypto-typescript","_rev":"13-68b8343662101cb7fc0a85b46a94d534","name":"@decentralized-identity/did-crypto-typescript","dist-tags":{"latest":"0.1.6"},"versions":{"0.1.1":{"name":"@decentralized-identity/did-crypto-typescript","version":"0.1.1","description":"Crypto TypeScript library for decentralized identity.","scripts":{"precommit":"npm run lint","build":"tsc","test":"nyc jasmine-ts --config=./tests/jasmine.json","lint":"tslint --fix --project .","check-lint":"tslint --project ."},"repository":{"type":"git","url":"git+https://github.com/decentralized-identity/did-crypto-typescript.git"},"main":"dist/lib/index.js","types":"dist/lib/index.d.ts","author":"","license":"ISC","dependencies":{"base64url":"^3.0.1","big-integer":"github:peterolson/BigInteger.js","clone":"^2.1.2","elliptic":"^6.4.1","install":"^0.12.2","node-webcrypto-ossl":"1.0.39","npm":"^6.8.0"},"devDependencies":{"@types/fetch-mock":"^7.2.3","@types/jasmine":"^2.8.8","@types/node":"^10.10.1","fetch-mock":"^7.3.0","husky":"^0.14.3","jasmine":"^3.2.0","jasmine-reporters":"^2.3.2","jasmine-spec-reporter":"^4.2.1","jasmine-ts":"^0.2.1","node-fetch":"^2.3.0","nyc":"^13.3.0","source-map-support":"^0.5.9","tslint":"^5.11.0","tslint-config-standard":"^8.0.1","typescript":"^3.0.3"},"nyc":{"extension":[".ts",".tsx"],"exclude":["**/*.d.ts"],"include":["lib/**"],"reporter":["text","cobertura","html"]},"gitHead":"e2222474ea0ae3d3f8e83e1faa806f8a7e06e5bc","bugs":{"url":"https://github.com/decentralized-identity/did-crypto-typescript/issues"},"homepage":"https://github.com/decentralized-identity/did-crypto-typescript#readme","_id":"@decentralized-identity/did-crypto-typescript@0.1.1","_nodeVersion":"10.13.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-ITJjmoKV2COQTwMuM2sESIdjO8g947hMeT8ULx9E2xulrnlSenP8KKwA+Olz90HaOM3R5zCh0/dKMljAHp2xZw==","shasum":"ddd114f317eaa603ade5410e69d19361b268c69a","tarball":"https://registry.npmjs.org/@decentralized-identity/did-crypto-typescript/-/did-crypto-typescript-0.1.1.tgz","fileCount":32,"unpackedSize":82306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpgjVCRA9TVsSAnZWagAA7SIP/0F6VfeYYNunabPB55Qh\nHS9hb5JwIT12sC1neECcfluOPZ8QCYBRnhE4GYNhXphfVMsGkK8Z4sYcvjxC\nMPYi5h/p2E1OHn8oC88PEBzVjQ+AMI4j5Kc12F/pg0pHnEveu8Owgz5zpNd5\nBl5ta+MPxGOlCv8mDVVKZH7RMJoEcQX3DQSmjrI7JVNNN4IeeqrSll+O3yka\nJvG0DZi2A4zPA19IJIfUQ/t7IttxLJKlS5IEh8M4rrY0EbRLwvJ74VLo7juD\nDpuLMW85EmSLwGh8o9hXH9puHBK5O2uRjYd+fhiK1wZDOpcp3m4LIb/LKWv4\nc6txfxErsYBwwCnM2Z85E4F9d8P4+t8vTrkhRSzJgVT4jnatEZNEQ8+2oSJO\netdv+LH+HRFci0T5+GOZBl3+n5+N1kYWzU1W+9mB6oYSdkXwuNF2lUS1v6tj\nO4NmkcDiJg352yTX4qeWuta8Dso78/z6U8IQqVk3qHcKtVPuqk6YW5NCxNo8\ncIctnUM+1VyUhrCin17l3mXaB8nLkZ0LpE6g6Juk8fPnxbK2FABmFQM7rV8/\nQV3whfG0Ye9IJMydbuMurd3BAhP5DBUlYSdVx3RCu34BUUBqmfGN24W1gpEN\ncMD8M7sWl8U7dojwNJuhYB7Sz+/zniU6WseC5pTrjJ4EttWcTnriZX1XNU43\nIN88\r\n=Vl8d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyYwBmQOZ0ij5QcE1KblE6S5n+lc6DP73ZL0ayK+IWXAIhAL8jS91a+sNfDaE/3vbA42Or0gYJ9cXm4Q9Es/SgqFX0"}]},"maintainers":[{"name":"sylar217","email":"johnanmol3405@outlook.com"},{"name":"beejones","email":"ronny.bjones@hotmail.com"},{"name":"alundeenmsft","email":"alundeen@microsoft.com"},{"name":"symorton","email":"symorton@microsoft.com"},{"name":"codeglobally","email":"code@global.ly"},{"name":"logangirvin","email":"logangirvin@hotmail.com"},{"name":"henrytsai","email":"henrytsai@outlook.com"},{"name":"csuwildcat","email":"danieljb2@gmail.com"}],"_npmUser":{"name":"beejones","email":"ronny.bjones@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/did-crypto-typescript_0.1.1_1554385108183_0.3581563852156646"},"_hasShrinkwrap":false},"0.1.2":{"name":"@decentralized-identity/did-crypto-typescript","version":"0.1.2","description":"Crypto TypeScript library for decentralized identity.","scripts":{"precommit":"npm run lint","build":"tsc","test":"nyc jasmine-ts --config=./tests/jasmine.json","lint":"tslint --fix --project .","check-lint":"tslint --project ."},"repository":{"type":"git","url":"git+https://github.com/decentralized-identity/did-crypto-typescript.git"},"main":"dist/lib/index.js","types":"dist/lib/index.d.ts","author":"","license":"ISC","dependencies":{"base64url":"^3.0.1","big-integer":"github:peterolson/BigInteger.js","clone":"^2.1.2","elliptic":"^6.4.1","install":"^0.12.2","node-webcrypto-ossl":"1.0.39","npm":"^6.8.0"},"devDependencies":{"@types/fetch-mock":"^7.2.3","@types/jasmine":"^2.8.8","@types/node":"^10.10.1","fetch-mock":"^7.3.0","husky":"^0.14.3","jasmine":"^3.2.0","jasmine-reporters":"^2.3.2","jasmine-spec-reporter":"^4.2.1","jasmine-ts":"^0.2.1","node-fetch":"^2.3.0","nyc":"^13.3.0","source-map-support":"^0.5.9","tslint":"^5.11.0","tslint-config-standard":"^8.0.1","typescript":"^3.0.3"},"nyc":{"extension":[".ts",".tsx"],"exclude":["**/*.d.ts"],"include":["lib/**"],"reporter":["text","cobertura","html"]},"gitHead":"91a21d099381bff1699627ecf1c190adc7da5284","bugs":{"url":"https://github.com/decentralized-identity/did-crypto-typescript/issues"},"homepage":"https://github.com/decentralized-identity/did-crypto-typescript#readme","_id":"@decentralized-identity/did-crypto-typescript@0.1.2","_nodeVersion":"10.13.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-IdFryJd31O6BOn/n1MjVcfwdQ+Pry6m5Kct8dtFbqbVTucoF3hz8Fpn2IW1M8UEQk16aX06SkPBJeNGgdI9LSg==","shasum":"54986c242d1139949c7bbf00392b4ec988523d71","tarball":"https://registry.npmjs.org/@decentralized-identity/did-crypto-typescript/-/did-crypto-typescript-0.1.2.tgz","fileCount":33,"unpackedSize":85438,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpyOqCRA9TVsSAnZWagAAaqQP/jAtjafpNHiNIk2yAOzs\nm7+IxsC+iv8ZYNpcJsx9AiVKGQYLtHAxp+owLkxrp5PxRt/f5aw59aFLYTfS\nj+0sUwG0hEypRiZCqwGkuSWYWm6tfU+Y8iUOYirAIlfhyTggQnSJPrDjqV7A\nwIyTrYb+woSRbkgnv2SHaSBN3MIuF2cSVT2X2pyBHaZJ6TLj4136KEI2jCU7\n1SpVdoqsN8Zu/8CuQ/g6GvEot232pD9YDEOnKbFU2hV4c2gdPH/kqg2XqsTS\nrdJP1NR84WO4dy2EC7Go+1SedC3aGa8wIQ3VuAXK91vAn32/1A9AEApkfBXD\n5WQsIdhCKLrUOfl4tq0gN2YAq/Q315TqKxSUVK3GZGJD92PwU4i82KgricUP\nYk/H+g0QkvnvWR65iQUHklwaHMgo/g5eH+kq4mp9KSEQujtOMa9Pg7tm+fvo\n9K9hPCy42OZV2ftWX+OsOa3BuqUDDREWKEnE0KKo4ee2dATx0W76vYN6RJDh\n1RRgI2VqwC0YNtahzncGVIt3Ppe40Z/8XkOd+ChwiWIUufXK/9hrQiP1b1hj\nraq86Zf7MDX5HUX1vQWSbXriaCoa5pQJkDJ4TidW0sdZGykqduCFl7Jel+9y\nxS7EUos9OrnbatCHXgNI0H9/oz7qh0S3vydDO5eiza12+tvsqM46xldXo6ho\n7dXi\r\n=DzVd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBIdhZzOlEddxPa34+SdhldYXrMzO6S1jjxBU9y1B0GLAiAJayqZ2VZyc1QgMwaTTTbX/gdzCWmbBTPPG6kTmFL+wg=="}]},"maintainers":[{"name":"alundeenmsft","email":"alundeen@microsoft.com"},{"name":"beejones","email":"ronny.bjones@hotmail.com"},{"name":"codeglobally","email":"code@global.ly"},{"name":"csuwildcat","email":"danieljb2@gmail.com"},{"name":"henrytsai","email":"henrytsai@outlook.com"},{"name":"logangirvin","email":"logangirvin@hotmail.com"},{"name":"sylar217","email":"johnanmol3405@outlook.com"},{"name":"symorton","email":"symorton@microsoft.com"}],"_npmUser":{"name":"beejones","email":"ronny.bjones@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/did-crypto-typescript_0.1.2_1554457513595_0.5812768013809249"},"_hasShrinkwrap":false},"0.1.3":{"name":"@decentralized-identity/did-crypto-typescript","version":"0.1.3","description":"Common TypeScript library for decentralized identity.","scripts":{"precommit":"npm run lint","build":"tsc","test":"nyc jasmine-ts --config=./tests/jasmine.json","test-browser":"karma start karma.config.js","debug-browser":"karma start karma.config.js  --browsers Chrome_with_debugging  --single-run true","lint":"tslint --fix --project .","check-lint":"tslint --project ."},"repository":{"type":"git","url":"git+https://github.com/decentralized-identity/did-crypto-typescript.git"},"main":"dist/lib/index.js","types":"dist/lib/index.d.ts","author":"","license":"ISC","dependencies":{"base64url":"^3.0.1","big-integer":"github:peterolson/BigInteger.js","clone":"^2.1.2","elliptic":"^6.4.1","install":"^0.12.2","node-webcrypto-ossl":"^1.0.39","npm":"^6.8.0"},"devDependencies":{"@types/fetch-mock":"^7.2.3","@types/jasmine":"^2.8.8","@types/node":"^10.10.1","fetch-mock":"^7.3.0","husky":"^0.14.3","jasmine":"^3.2.0","jasmine-reporters":"^2.3.2","jasmine-spec-reporter":"^4.2.1","jasmine-ts":"^0.2.1","karma":"^4.0.1","karma-chrome-launcher":"^2.2.0","karma-jasmine":"^2.0.1","karma-typescript-preprocessor2":"^1.2.1","karma-webpack":"^2.0.3","awesome-typescript-loader":"^3.1.2","ts-loader":"^2.0.2","webpack":"^2.3.0","node-fetch":"^2.3.0","nyc":"^13.3.0","source-map-support":"^0.5.9","tslint":"^5.11.0","tslint-config-standard":"^8.0.1","typescript":"^3.0.3"},"nyc":{"extension":[".ts",".tsx"],"exclude":["**/*.d.ts"],"include":["lib/**"],"reporter":["text","cobertura","html"]},"gitHead":"f71d8d7bc3ad2ab812eefe0f59d379121f417b74","bugs":{"url":"https://github.com/decentralized-identity/did-crypto-typescript/issues"},"homepage":"https://github.com/decentralized-identity/did-crypto-typescript#readme","_id":"@decentralized-identity/did-crypto-typescript@0.1.3","_nodeVersion":"10.13.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-R7xP88oEouE7KgKXRtkVJDqshu5gzV+xVbfh6CPBX0XSPSryJPO8yPu9gI4F4msg3hIj7FkJzb7KGASEIuynqg==","shasum":"22323d1633d8c6a2a750e71ccedf72f026dfda10","tarball":"https://registry.npmjs.org/@decentralized-identity/did-crypto-typescript/-/did-crypto-typescript-0.1.3.tgz","fileCount":3,"unpackedSize":16606,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcrf+LCRA9TVsSAnZWagAABUcP/3VLfi/DQodQZEMxlCQ1\n9CnNygpiSTAl7QFJIW0DHOPtCCmtJyiJBRTUnC6NHZ0YpytQOi15uRqp0Q3h\n+T9PAwfIv4YsuhGpCjQ8RChYlzpmHP2bhvzH42egU/bccvI1zX1pVfe0zU+l\nJJbvGUhAgmChv/X/aUI+wEZGGXgCgCBwAL9/ILaz510MgCDZYr8Yiq102CRG\nqswT+JahDwxy5oX0tDRa8Jqm+F0s7+9T1IhburDgRPNDc7RZiaEtBMlPlAI/\nMR9aVcNGtN71++eqCNUIxiSx5uMrWDEL3dyaX5kC3fwsyz2bi/U91sbH2e50\nMtV160GYv8tF/CPqe/0J0ZfLbEvTPm7EZ94Q7MYNsYbsROl3ImVt51iHYJa5\ngq/Wqj2NXhStb2rot/UYKsRP1c3/6LdoGnoJYAhTCTaPZ/mh7f1ub6auX5II\nybppp6+te3I8anHEzq6ty9z66XCDcJvIjqbSxkcyL+oaf9tWhaYBtisy8wXG\njeD/kXvveIm6KMqKYhY850Dke+mNQN2kS3NZuaLGINNDtjVc9aHTS7A4NOzy\n7LneO5/JvSaN49ZmmgIrJ/+uaTszrdF+vWmHk7mcdrC6gNd3lZz2k18R7Z1l\n1dmgocWK4mDmK0x57ptzgLS6kFlYdLN78mMmrrigmeJzjOszvT8yIyOVK9Js\nNkIr\r\n=Fp0L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCR6LkwG4IHRr9ogzougmdzgsrSi/Ma6VRLKVX2/l3aYAIgEB+SQWLQVyU7jGebOeXwWo/Y2CZE4a4Q3q3g3gtYW5U="}]},"maintainers":[{"name":"alundeenmsft","email":"alundeen@microsoft.com"},{"name":"beejones","email":"ronny.bjones@hotmail.com"},{"name":"codeglobally","email":"code@global.ly"},{"name":"csuwildcat","email":"danieljb2@gmail.com"},{"name":"henrytsai","email":"henrytsai@outlook.com"},{"name":"logangirvin","email":"logangirvin@hotmail.com"},{"name":"sylar217","email":"johnanmol3405@outlook.com"},{"name":"symorton","email":"symorton@microsoft.com"}],"_npmUser":{"name":"beejones","email":"ronny.bjones@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/did-crypto-typescript_0.1.3_1554907018540_0.40571275045324695"},"_hasShrinkwrap":false},"0.1.4":{"name":"@decentralized-identity/did-crypto-typescript","version":"0.1.4","description":"Common TypeScript library for decentralized identity.","scripts":{"precommit":"npm run lint","build":"tsc","test":"nyc jasmine-ts --config=./tests/jasmine.json","test-browser":"karma start karma.config.js","debug-browser":"karma start karma.config.js  --browsers Chrome_with_debugging  --single-run true","lint":"tslint --fix --project .","check-lint":"tslint --project ."},"repository":{"type":"git","url":"git+https://github.com/decentralized-identity/did-crypto-typescript.git"},"main":"dist/lib/index.js","types":"dist/lib/index.d.ts","author":"","license":"ISC","dependencies":{"base64url":"^3.0.1","big-integer":"github:peterolson/BigInteger.js","clone":"^2.1.2","elliptic":"^6.4.1","install":"^0.12.2","node-webcrypto-ossl":"^1.0.39","npm":"^6.8.0"},"devDependencies":{"@types/fetch-mock":"^7.2.3","@types/jasmine":"^2.8.8","@types/node":"^10.10.1","fetch-mock":"^7.3.0","husky":"^0.14.3","jasmine":"^3.2.0","jasmine-reporters":"^2.3.2","jasmine-spec-reporter":"^4.2.1","jasmine-ts":"^0.2.1","karma":"^4.0.1","karma-chrome-launcher":"^2.2.0","karma-jasmine":"^2.0.1","karma-typescript-preprocessor2":"^1.2.1","karma-webpack":"^2.0.3","awesome-typescript-loader":"^3.1.2","ts-loader":"^2.0.2","webpack":"^2.3.0","node-fetch":"^2.3.0","nyc":"^13.3.0","source-map-support":"^0.5.9","tslint":"^5.11.0","tslint-config-standard":"^8.0.1","typescript":"^3.0.3"},"nyc":{"extension":[".ts",".tsx"],"exclude":["**/*.d.ts"],"include":["lib/**"],"reporter":["text","cobertura","html"]},"gitHead":"131e9d16dde3c2504faa9cc6cd4b1d09d7c8bb2b","bugs":{"url":"https://github.com/decentralized-identity/did-crypto-typescript/issues"},"homepage":"https://github.com/decentralized-identity/did-crypto-typescript#readme","_id":"@decentralized-identity/did-crypto-typescript@0.1.4","_nodeVersion":"10.13.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Rzwi161GKfVlHQ+8RSY+7dH97W49PL2aA/0dcdCRAXkGHzlcgtO0GRV4Rk5BMJryk9VMZt58ck0GzPYP78mZzQ==","shasum":"b58e543ac93269309da43e2e2d860347da8937d8","tarball":"https://registry.npmjs.org/@decentralized-identity/did-crypto-typescript/-/did-crypto-typescript-0.1.4.tgz","fileCount":13,"unpackedSize":26987,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcvxktCRA9TVsSAnZWagAAz8kP/327DKhml+xMibhZHlgf\nrH5PSkq8Qj5P68yUFY7DBgMHw3ZTsWsJC7bmK26S2/Yzpd606Lp+s2+F8gD6\n7M4bKfQr4HtXzghRVTrlVbIwhyUSAM2Nzh6U9dE39CTNXtjPUlGImmrq4LKJ\nlH+w8njNjEwUKNexkQ3Y7cYJRZef1rBOXqXzAfp5i3be9nKrVyjDtP+jyp8Y\nZrQ++sw1wune8NNX3MAkHy8kHizYIrnqjYC2hhCVw9aObIgX8vRIVemAt1nG\nDPaUnGn3tXvaCnU2KbX6oTrgZV7BReDiurPSFJ6ORe47UXX2E3Ib6sE1GzkH\n3AxlfbPbYNGqsbOgBPZOBUGQ/kG179uWqSQxjnxJyJ/NrkCBIw5cEiTjx6Nl\nR8PqVzz6Y2YdPChbnHfUtiHovF6zd07Gidhr+wrN5HS2LjL3rKl8sGzWlqMO\nB6SQHcJ7mKLB/I8DUsUR+CbA+ealOx3peM8F2hfK0wagV6v3zOoINPt4jz1R\nug0uid0ZVF6w3QpcKc7oJ0E2xbc4purOpn4zjNnn8cYCftwu52ac7KJBNhGZ\ngZMjGRutEJSoGeXQOKyJRc5AX/ykNZIC4E75dQtcIFsA+kzwMmlG2rDsDZrb\nV4npCf4sY3nQMoHSVS8Ic7YohC3Q8cMgTOHUsYHwZnJey0J3f+T4yGX4FZzE\na6I2\r\n=am4J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA+eoVEJpCp1g4s9dnr5RgBr9oKtY8SlMrnaPjqWtMrAAiA+ld0RbNcC4buDYZAOO7YkpisbMEA4GeqCqL6I+5E7mA=="}]},"maintainers":[{"name":"alundeenmsft","email":"alundeen@microsoft.com"},{"name":"beejones","email":"ronny.bjones@hotmail.com"},{"name":"codeglobally","email":"code@global.ly"},{"name":"csuwildcat","email":"danieljb2@gmail.com"},{"name":"henrytsai","email":"henrytsai@outlook.com"},{"name":"logangirvin","email":"logangirvin@hotmail.com"},{"name":"sylar217","email":"johnanmol3405@outlook.com"},{"name":"symorton","email":"symorton@microsoft.com"}],"_npmUser":{"name":"beejones","email":"ronny.bjones@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/did-crypto-typescript_0.1.4_1556027692842_0.5693864931433623"},"_hasShrinkwrap":false},"0.1.5":{"name":"@decentralized-identity/did-crypto-typescript","version":"0.1.5","description":"Common TypeScript library for decentralized identity.","scripts":{"precommit":"npm run lint","build":"tsc","test":"nyc jasmine-ts --config=./tests/jasmine.json","test-browser":"karma start karma.config.js","debug-browser":"karma start karma.config.js  --browsers Chrome_with_debugging  --single-run true","lint":"tslint --fix --project .","check-lint":"tslint --project ."},"repository":{"type":"git","url":"git+https://github.com/decentralized-identity/did-crypto-typescript.git"},"main":"dist/lib/index.js","types":"dist/lib/index.d.ts","author":"","license":"ISC","dependencies":{"base64url":"^3.0.1","big-integer":"github:peterolson/BigInteger.js","clone":"^2.1.2","elliptic":"^6.4.1","install":"^0.12.2","node-webcrypto-ossl":"^1.0.39"},"devDependencies":{"@types/fetch-mock":"^7.2.3","@types/jasmine":"^2.8.8","@types/node":"^10.10.1","fetch-mock":"^7.3.0","husky":"^0.14.3","jasmine":"^3.2.0","jasmine-reporters":"^2.3.2","jasmine-spec-reporter":"^4.2.1","jasmine-ts":"^0.2.1","karma":"^4.0.1","karma-chrome-launcher":"^2.2.0","karma-jasmine":"^2.0.1","karma-typescript-preprocessor2":"^1.2.1","karma-webpack":"^2.0.3","awesome-typescript-loader":"^3.1.2","ts-loader":"^2.0.2","webpack":"^2.3.0","node-fetch":"^2.3.0","nyc":"^14.0.0","source-map-support":"^0.5.9","tslint":"^5.11.0","tslint-config-standard":"^8.0.1","typescript":"^3.0.3"},"nyc":{"extension":[".ts",".tsx"],"exclude":["**/*.d.ts"],"include":["lib/**"],"reporter":["text","cobertura","html"]},"gitHead":"14cdfb56ab2343f11c580565ac40435f38603bd3","bugs":{"url":"https://github.com/decentralized-identity/did-crypto-typescript/issues"},"homepage":"https://github.com/decentralized-identity/did-crypto-typescript#readme","_id":"@decentralized-identity/did-crypto-typescript@0.1.5","_nodeVersion":"10.13.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-aoA9Z60UFBLueJM5tyyWlIaf6h5GqY6ELfJ3y9rqlRMsfVNKyNF5RT7VgOBJqHOe2mDJBiMk5E8PqgBRDdM3NQ==","shasum":"c587a4d78f47cebf46194c9384ee268bc885eede","tarball":"https://registry.npmjs.org/@decentralized-identity/did-crypto-typescript/-/did-crypto-typescript-0.1.5.tgz","fileCount":33,"unpackedSize":78238,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwBPCCRA9TVsSAnZWagAAX9AP/30EDmH7d5Bc1VMXHp6j\ns9nH/gJUXSBYZpWGtOYjPKNUDms63L4joPYt8KlA+C9sJKE5TYN38E2j//Kv\nzMZW9A9eayROdhfEmZ5GPNiZAbQQXj2JYHncPeSxjI703d55qUpVd2NbnJzC\nj2ssx9fJS6bNvYvw7sSXC6z4cPpitfpBXZDxZVKcVCIynCiB/VvZYAx9O6HN\nViJDS+A8GyRkPMyrRyBwZKPZaSzgxvhZEdiR7fmoGy1PAGaSPdC/q9q9x35i\nG/Y83SwmslzeqYXUUu/vwHkPjxJxtFlo9XMg2nP9ji99Dq0QbfFVUqdNZtQv\nlQZAJIbWTApMKUYZxwni6Nxt2ekYTw+R/Ns0CEa1AyXMB47bDVftmW+krYCQ\nljYmf6xxEUnkZhD/m7vI90pjiruDjl/jJYXVWHndz7PdoUzkM51EiHK3Z15O\n2eLMAFMCPwnB3AB6IRA1yRmUuD4/qxE5xOk6RLVzcJ7H3NBqT9QgFCtLDXKV\nZdqOCVMcn8S3umkDfzF0cp02u0LpMwzXQW92TFPhkJQLJhNDghgYWsJ6wkD7\nlyHEDYrP+MbgeTxY2hrahU3df177Rzoxx3ao3qfUBI7+qJOZDXKv/58RR0bq\nQaWZuTZH/Sc8TgLT2Uq6/Y27MVdSC6tuJsVZER8WLkiIFefiMC9tFkfJYV2R\nBiGm\r\n=tYqW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDU8KgmrzPDHs3P6APp7SOfEzFnqAYqIRozz+D5TrbDEAIgV1JYbad+bAaBmNq3P5NHd0lad9Xr0jAadrGOuPGF5sk="}]},"maintainers":[{"name":"alundeenmsft","email":"alundeen@microsoft.com"},{"name":"beejones","email":"ronny.bjones@hotmail.com"},{"name":"codeglobally","email":"code@global.ly"},{"name":"csuwildcat","email":"danieljb2@gmail.com"},{"name":"henrytsai","email":"henrytsai@outlook.com"},{"name":"logangirvin","email":"logangirvin@hotmail.com"},{"name":"sylar217","email":"johnanmol3405@outlook.com"},{"name":"symorton","email":"symorton@microsoft.com"}],"_npmUser":{"name":"beejones","email":"ronny.bjones@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/did-crypto-typescript_0.1.5_1556091841838_0.29201995447030993"},"_hasShrinkwrap":false},"0.1.6":{"name":"@decentralized-identity/did-crypto-typescript","version":"0.1.6","description":"Common TypeScript library for decentralized identity.","scripts":{"precommit":"npm run lint","build":"tsc","test":"nyc jasmine-ts --config=./tests/jasmine.json","test-browser":"karma start karma.config.js","debug-browser":"karma start karma.config.js  --browsers Chrome_with_debugging  --single-run true","lint":"tslint --fix --project .","check-lint":"tslint --project ."},"repository":{"type":"git","url":"git+https://github.com/decentralized-identity/did-crypto-typescript.git"},"main":"dist/lib/index.js","types":"dist/lib/index.d.ts","author":"","license":"ISC","dependencies":{"@peculiar/webcrypto":"^1.0.9","base64url":"^3.0.1","big-integer":"github:peterolson/BigInteger.js","clone":"^2.1.2","elliptic":"^6.4.1","install":"^0.12.2"},"devDependencies":{"@types/fetch-mock":"^7.2.3","@types/jasmine":"^2.8.8","@types/node":"^10.10.1","fetch-mock":"^7.3.0","husky":"^0.14.3","jasmine":"^3.2.0","jasmine-reporters":"^2.3.2","jasmine-spec-reporter":"^4.2.1","jasmine-ts":"^0.2.1","karma":"^4.0.1","karma-chrome-launcher":"^2.2.0","karma-jasmine":"^2.0.1","karma-typescript-preprocessor2":"^1.2.1","karma-webpack":"^2.0.3","awesome-typescript-loader":"^3.1.2","ts-loader":"^2.0.2","webpack":"^2.3.0","node-fetch":"^2.3.0","nyc":"^14.0.0","source-map-support":"^0.5.9","tslint":"^5.11.0","tslint-config-standard":"^8.0.1","typescript":"^3.0.3"},"nyc":{"extension":[".ts",".tsx"],"exclude":["**/*.d.ts"],"include":["lib/**"],"reporter":["text","cobertura","html"]},"gitHead":"867cff77d1d6c94ccb2369d7d879708ab492f444","bugs":{"url":"https://github.com/decentralized-identity/did-crypto-typescript/issues"},"homepage":"https://github.com/decentralized-identity/did-crypto-typescript#readme","_id":"@decentralized-identity/did-crypto-typescript@0.1.6","_nodeVersion":"10.13.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-m3aHB1KfHWzrsLXxOXmyxrVU7KfVzZgW2fmr1IWaalRmpJuYjyfVlo+zCEqnaS/0G4bC9GR5483JJJ9h5+ZFuQ==","shasum":"a7e6094fcb3b31dfcf6a2376738d18bfc710f945","tarball":"https://registry.npmjs.org/@decentralized-identity/did-crypto-typescript/-/did-crypto-typescript-0.1.6.tgz","fileCount":33,"unpackedSize":80767,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcz+7qCRA9TVsSAnZWagAA7nsP/009pF5bJzdY+QVXkohj\nBv3XGvpI0GNWmFH+Hwgm7u3xqJ+IA/jc/DLddtzlpuMNc/+TAC/groMydeLU\nZZEFZ4179ZxOJltIyiT94KhJ4TNJWECKOFRtCkCw7GD79d8RAkoesv0zbTSG\n/9JSOMBsdT+GQb898Au+22qIujSKxDaOOGHAF9ui4jpnK9A0Dlec0xHRP95Y\n4WNK48URDmFa6WXTrB7U2G1hgpTFOwWXAuIslpfwppZ3KXE2XQ18XUoU1uh9\nAFbq7dQVQpZaWTk2IkkOrlZbS7De8uvX8pRghJJX+AY0sKXQWRowNsPQOeNZ\nSgMlCEGzCnnJbolnrMd0CqYD9ijFqMm+0A+K9ZqZ03+WqqV0GBsvNu9GTCpZ\ny8AxjSPJ1Ch0DECnp4yXWlGZfK8xL64RVZscThhVq1pHgapfyAnKlxsJoRga\nGa6kIzHLwYxQAp+y6JKYF1XV133PyWMH6Jpe9kf+P83+ouSVBH/UMjQtP8j0\nxVr5l4xopfKn2YuwjoqaA4cDIa/GKWHdlLtSv/tuxuAG7uWQXeHMVCANMPjm\nMghVps3t4uN99O2brJVjlkxKVEBo7ERM6K0zVx28HGLsDNGF2xOtqXt1yPkA\no/uyBmNb0tW1M2awK5bW9Io2GzT3zothmME1+hxUlsbwtJlNqF/4z7i6dFoP\ngOf3\r\n=eeaj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTK3qX88NM700Yp7NRuoeuJ5gWcGLkJ+/K93hY+bKBWQIhAPbPTjjc7OsJXN8EnT52jVV12XMUH+7nwb2OxsFE+vpr"}]},"maintainers":[{"name":"alundeenmsft","email":"alundeen@microsoft.com"},{"name":"beejones","email":"ronny.bjones@hotmail.com"},{"name":"codeglobally","email":"code@global.ly"},{"name":"csuwildcat","email":"danieljb2@gmail.com"},{"name":"henrytsai","email":"henrytsai@outlook.com"},{"name":"logangirvin","email":"logangirvin@hotmail.com"},{"name":"sylar217","email":"johnanmol3405@outlook.com"},{"name":"symorton","email":"symorton@microsoft.com"}],"_npmUser":{"name":"beejones","email":"ronnybj@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/did-crypto-typescript_0.1.6_1557130985767_0.6220747533177591"},"_hasShrinkwrap":false}},"time":{"created":"2019-04-04T13:38:27.999Z","0.1.1":"2019-04-04T13:38:28.304Z","modified":"2024-04-25T17:37:28.906Z","0.1.2":"2019-04-05T09:45:13.726Z","0.1.3":"2019-04-10T14:36:58.678Z","0.1.4":"2019-04-23T13:54:52.975Z","0.1.5":"2019-04-24T07:44:01.952Z","0.1.6":"2019-05-06T08:23:06.034Z"},"maintainers":[{"email":"shamilovtim@gmail.com","name":"shamilovtim"},{"email":"m.jangda88@gmail.com","name":"mistermoe"},{"email":"danieljb2@gmail.com","name":"csuwildcat"},{"email":"henrytsai@outlook.com","name":"henrytsai"},{"email":"symorton@microsoft.com","name":"symorton"},{"email":"ci@identity.foundation","name":"ci_identity_foundation"}],"description":"Common TypeScript library for decentralized identity.","homepage":"https://github.com/decentralized-identity/did-crypto-typescript#readme","repository":{"type":"git","url":"git+https://github.com/decentralized-identity/did-crypto-typescript.git"},"bugs":{"url":"https://github.com/decentralized-identity/did-crypto-typescript/issues"},"license":"ISC","readme":"![DIF Logo](https://raw.githubusercontent.com/decentralized-identity/decentralized-identity.github.io/master/images/logo-small.png)\r\n\r\n# DID TypeScript Crypto\r\n\r\nThis library provides core crypto functions.  \r\n\r\n## Deterministic Pairwise Keys\r\nA core capability of this library is the generation of deterministic pairwise keys.  \r\nA pairwise key is a unique key for a relationship between a persona (user's DID) and a peer such as a relying party or another DID user.  \r\nDeterministic means that all pairwise keys can be recalculated. \r\n\r\n## Cryptography in Browser and Nodejs\r\nDifferent environments such as a browser or Node.js support different crypto libraries.  \r\nThis library expects a crypto object which is the cryptography layer for the environment.\r\n### Browser\r\n```\r\nwindow.crypto\r\n```\r\n### Node.js\r\n```\r\nimport WebCrypto from 'node-webcrypto-ossl';\r\nconst crypto = new WebCrypto();\r\n```\r\n\r\n\r\n## Supported algorithms\r\n\r\nThe library supports RSA and elliptic curve secp256k1 keys.  \r\nThe library also supports secrets used for HMAC.  \r\nThe algorithm specification are conform with the [Web Cryptography API](https://www.w3.org/TR/WebCryptoAPI/).  \r\nThis [repo](https://github.com/diafygi/webcrypto-examples) has a collection of examples how to use the [Web Cryptography API](https://www.w3.org/TR/WebCryptoAPI/).   \r\n\r\n### Key generation\r\n\r\n\r\n const didKey = new DidKey(crypto, algorithm, null, true);\r\n  \r\n  **crypto**: see [cryptography](#cryptography-in-browser-and-nodejs) section  \r\n  **algorithm**: The generatekey algorithm as specified in [Web Cryptography API](https://www.w3.org/TR/WebCryptoAPI/)  \r\n  **key**: null means that Didkey has to generate the key  \r\n  **exportable**: True if the key can be exported \r\n  \r\nExamples of supported algorithms  \r\n* const algorithm = { name: 'hmac', hash: { name: 'SHA-256' } };\r\n* const algorithm = { name: 'ECDSA', namedCurve: 'P-256K', hash: { name: 'SHA-256' } };\r\n* const algorithm = { name: 'RSASSA-PKCS1-v1_5', modulusLength: 2048, publicExponent: new Uint8Array([0x01, 0x00, 0x01]), hash: { name: 'SHA-256' } };\r\n\r\n\r\n### methods of Didkey\r\nconst didKey = new DidKey(crypto, algorithm, null, true);  \r\n\r\n\r\n#### Generate a pairwise key\r\nconst pairwiseKey: DidKey = await didKey.generatePairwise(seed, personaId, peerId);  \r\n **seed**: Buffer representing at least 32 bytes of random data  \r\n **personaId**: String representing an identifier for a persona (user's DID)  \r\n **peerId**: String representing an identifier for the peer  \r\n Remark: To generate a deterministic key for a persona, use the same value for personaId and peerId. \r\n\r\n#### Get the private key in Json Web Key format\r\nconst jwkKey = await didKey.getJwkKey(KeyExport.Private);\r\n#### Get the public key in Json Web Key format\r\nconst jwkKey = await didKey.getJwkKey(KeyExport.Public);  \r\n\r\n\r\n \r\n\r\n\r\n\r\n\r\n## Installation\r\n\r\nInstall the library into your project with npm:\r\n\r\n```\r\nnpm install @decentralized-identity/did-crypto-typescript\r\n```\r\n\r\n## Crypto Dependancy\r\n\r\nThis library uses @peculiar/webcrypto as base crypto library for nodejs. This library is still in an experimental stage and should for now not be used in production code.\r\nIn the browser one can use the native window.crypto object supported in all modern browsers.\r\n\r\n## Supported algorithms\r\nThe library supports the following algorithms for generating pairwise keys:\r\nRSA\r\nsecp256k1\r\n","readmeFilename":"README.md"}