{"_id":"picasso-canvas-fingerprinting","_rev":"1-101519273b576123bd2a169d7feb4526","name":"picasso-canvas-fingerprinting","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"picasso-canvas-fingerprinting","version":"1.0.0","description":"Implementation of a canvas fingerprinting algorithm inspired by the Picasso paper","main":"src/canvas.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/antoinevastel/picasso-like-canvas-fingerprinting.git"},"author":{"name":"Antoine Vastel"},"license":"MIT","bugs":{"url":"https://github.com/antoinevastel/picasso-like-canvas-fingerprinting/issues"},"homepage":"https://github.com/antoinevastel/picasso-like-canvas-fingerprinting#readme","gitHead":"a7dbefe93c1ad8a49f16e94f95002215034a7b1f","_id":"picasso-canvas-fingerprinting@1.0.0","_nodeVersion":"17.5.0","_npmVersion":"8.4.1","dist":{"integrity":"sha512-jTWeOSXmkpaMspveV1qKv/QQZYUcjBlAa26AbHSLMm8WXi/YSMwdH98gvTN6G+ZOsvrDvLvK+TF4SyE43CRtAg==","shasum":"67b241528c9e594d3ec994f61876a4050f240954","tarball":"https://registry.npmjs.org/picasso-canvas-fingerprinting/-/picasso-canvas-fingerprinting-1.0.0.tgz","fileCount":5,"unpackedSize":13979,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4g4jnxwxel2RvBq68lBSN0Ttlqe8XfrZAgTHyZ6vQ4wIhALx+kjpxUZfHFxMS9xPu4zmq3FVeb9bt1lUXPyHW3Lhu"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi0DbdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrXZQ//UDxtWVFT0iadtIn6GrpTOyhbI/toNBCXT+Astmp9guopJNRh\r\nIHk/wNevVvy+CgdipWtW3QnGMgWSOhXlQBgHguQT2VLH2J558A7hw6XY9gwE\r\nc4zdrEfXT6lWUvPPfoyQGYdYqjeHcxyI3wiU0LGaqiJYGnckYJsRxBOGELvX\r\nEef6zJg7sn1f/hswPDqQUUGc2l+pcXsn8KJMfZoI+Tw0gn2hiu8NrJqVdo9/\r\nWfFiA+vastRWFQywT2Z19gxHSavaQu3+cydX4GVhh0y8BqKFfYmye1kpsK3L\r\nzV26ojOdQxsKU7StFgRn6F/bc0Q3GAiusZB9rKqQLL7PL+4kcAknYT02djzh\r\nC/HKmcGpa2dF6RYQQ6eZrLvSg49WiVrskSYIzxg2d0Xxu5DyT2tfVfHk4Pak\r\nnCnO8e8h5TRow7kqFQViqorzgKUlPvuBvoMCA5MV2siLHtt4whbbe1RAFfEV\r\nkE7Pf7vtdE+xIc73Tvff9WfZYLdDAu36K2bjCSiZlcNcvuChVKYBqiagJwet\r\nT/WW1RXecbpuX1cHECAjv0wuOzHOjEk1orq/I+tnQXKcQxwRLxT3pG9MbQaq\r\npWkB0blTFBRz039Qk3zNjd+Z1SGeVkzTbz3K0RMFPY2hCExZ0xp9eQf5TuuM\r\njBeVgdZzrcBBybgwwJoizAJOrVFv9qpJz+M=\r\n=iZwQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"avastel","email":"antoine.vastel@gmail.com"},"directories":{},"maintainers":[{"name":"avastel","email":"antoine.vastel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/picasso-canvas-fingerprinting_1.0.0_1657812700926_0.4946263115098499"},"_hasShrinkwrap":false},"1.0.1":{"name":"picasso-canvas-fingerprinting","version":"1.0.1","description":"Implementation of a canvas fingerprinting algorithm inspired by the Picasso paper","main":"src/canvas.js","scripts":{"test":"node_modules/mocha/bin/mocha.js"},"repository":{"type":"git","url":"git+https://github.com/antoinevastel/picasso-like-canvas-fingerprinting.git"},"author":{"name":"Antoine Vastel"},"license":"MIT","bugs":{"url":"https://github.com/antoinevastel/picasso-like-canvas-fingerprinting/issues"},"homepage":"https://github.com/antoinevastel/picasso-like-canvas-fingerprinting#readme","devDependencies":{"mocha":"^10.0.0","puppeteer":"^15.4.0"},"gitHead":"9928c9aac13946bc70135b6c87e1a5b96979fff3","_id":"picasso-canvas-fingerprinting@1.0.1","_nodeVersion":"17.5.0","_npmVersion":"8.4.1","dist":{"integrity":"sha512-nS8WA2NwbhziwM8WxkSnlb4QsSmwsZ15nQY+bOvSBxjPotfIdU61aQ0c+oKBOXgrpotUgx9yiVl2LTw56FmVyw==","shasum":"09d8060418a6f2faad07bad7d10051448206dc7e","tarball":"https://registry.npmjs.org/picasso-canvas-fingerprinting/-/picasso-canvas-fingerprinting-1.0.1.tgz","fileCount":7,"unpackedSize":18413,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYuD89ARMxioIKii2r4nzUszg7ow59IF4Usj8LtLR2mwIhAIVkA3GWIwX7ksaQ868QFAWasN67rQMUX6fN7Crl5iGB"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi0EpXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqFiQ/9HJ2YgJIlwxdasW+B/jLyNOa2U7vnulf0msh2xoVtYjfeT3Zl\r\nSGzM7CHQWu+dLbJbZqoPLHm1URGIikgzJRC8RjgXgB1/yIWgww+O2DZ12HSt\r\nCudZZNgERc8JRA2JpBRdh9tvYhVGAK4LBHoza370HH5gZQAZNR1Ww5jR/u+u\r\nLFO6B1Z8CqwaTrwoy3++Z3MnJhCx+FGKoliMBt5KSI01VKUNfW/tQr6Dp9Sx\r\nMuyycY3PMArZFSKM3rhJl5hQnmM/m2KXZAnUqVvF0Hu6BUjjIl/bkFTrmMav\r\nUwvf9cZT4r35covPk7zTP659xUkHZ6aZQDLLTGxuRp/yfhWplKco9/lmMwI0\r\n2kTnlE/CEiJWoHZDYanbxezUIB1MbvrEnbw/+ntxvMFbH9gErzrV0joVRFnr\r\nfbHdM2eiv2ZdprNfyW8sQwX58Y204W5dGXckrMyqML1ZzajpBDLaYKBrroU9\r\nobtwC4DqJCHmDOwPBMYNiKbGQ83AEvYhn6yp/56b83qk8RuVL5Mo4eA1D0sk\r\nzxbbgE7UT3jKXzeO68VbP9ZBUiy1pro5wNOTDXRmuIjocf7rENgSvsXoTDm2\r\nDUKPZdrJMY/QbU1xMY0DjdYAtQq//Yapo7NTvZs3fR7jinGpmrd4NnUR32ys\r\nD3WN3Qf9wJD5mOCOvTFA7qpl6PG2SQoIM6M=\r\n=0Y5Q\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"avastel","email":"antoine.vastel@gmail.com"},"directories":{},"maintainers":[{"name":"avastel","email":"antoine.vastel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/picasso-canvas-fingerprinting_1.0.1_1657817687037_0.2612078797664008"},"_hasShrinkwrap":false}},"time":{"created":"2022-07-14T15:31:40.925Z","1.0.0":"2022-07-14T15:31:41.159Z","modified":"2022-07-14T16:54:47.334Z","1.0.1":"2022-07-14T16:54:47.224Z"},"maintainers":[{"name":"avastel","email":"antoine.vastel@gmail.com"}],"description":"Implementation of a canvas fingerprinting algorithm inspired by the Picasso paper","homepage":"https://github.com/antoinevastel/picasso-like-canvas-fingerprinting#readme","repository":{"type":"git","url":"git+https://github.com/antoinevastel/picasso-like-canvas-fingerprinting.git"},"author":{"name":"Antoine Vastel"},"bugs":{"url":"https://github.com/antoinevastel/picasso-like-canvas-fingerprinting/issues"},"license":"MIT","readme":"# Picasso based canvas fingerprinting\n\n[![Actions Status](https://github.com/antoinevastel/picasso-like-canvas-fingerprinting//workflows/picasso-canvas-fingerprinting/badge.svg)](https://github.com/antoinevastel/picasso-like-canvas-fingerprinting/actions)\n[![NPM package](https://img.shields.io/npm/v/picasso-canvas-fingerprinting.svg)](https://www.npmjs.com/package/picasso-canvas-fingerprinting)\n\n\nImplementation of a canvas fingerprinting algorithm inspired by the [Picasso paper](https://ai.google/research/pubs/pub45581) written by Elie Bursztein.\n\nAn online demo is available on [my blog](https://antoinevastel.com/browser%20fingerprinting/2019/03/21/picasso-canvas-fingerprinting.html).\n\n## Quick start\n\n```html\nYou can host your own version of the Picasso canvas fingerprinting script or include it using Jsdelivr CDN.\n<script src=\"https://cdn.jsdelivr.net/npm/picasso-canvas-fingerprinting/src/canvas.js\"></script>\n```\n\nOnce the Picasso script is loaded in your HTML page, you can use it as follows:\n```html\n<script>\n    const params = {\n        area: {\n            width: 300,\n            height: 300,\n        },\n        offsetParameter: 2001000001,\n        fontSizeFactor: 1.5,\n        multiplier: 15000,\n        maxShadowBlur: 50,\n    };\n\n    // Number of shapes to draw. The higher the more costly it is.\n    // Can be used as a way to adjust the aggressiveness of the proof of work (POW)\n    const numShapes = 5;\n    const initialSeed = Math.floor(100*Math.random());\n\n    const canvasValue = picassoCanvas(\n        numShapes, initialSeed, params\n    );\n\n    // canvasValue is a hash representing the result of the Picasso challenge, e.g.\n    // c24b4a72badc95284b337aa304be1438\n</script>\n```\n\n","readmeFilename":"README.md"}