{"_id":"nacl","_rev":"19-5518cacd3805cf25bb2932b325adf9c9","name":"nacl","description":"Networking and Cryptography library bindings - high-speed, high-security, easy-to-use crypto library","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.0":{"author":{"name":"Jann Horn","email":"jannhorn@googlemail.com"},"name":"nacl","description":"Networking and Cryptography library bindings - high-speed, high-security, easy-to-use crypto library","version":"0.1.0","homepage":"https://github.com/thejh/node-nacl","repository":{"type":"git","url":"git://github.com/thejh/node-nacl.git"},"dependencies":{},"devDependencies":{},"_npmUser":{"name":"thejh","email":"jannhorn@gmail.com"},"_id":"nacl@0.1.0","scripts":{"preinstall":"node-waf clean || true; node-waf configure build"},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.93","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"8eb7b1c198fc4642c56edb86501d18be671737a4","tarball":"https://registry.npmjs.org/nacl/-/nacl-0.1.0.tgz","integrity":"sha512-ZyAANoTCIUUvh3oRqOqXySYJMkP4vmlokeppMzDKlCK4kTBwE0U5JxrHxCKVtkqOerd1AMaVoJNbTMB1i+EuIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTx6wPT3Qphf3bq/h5sQYeamuHmYDK9oRFRdHTmx9XkAIgPARCc+tzL4a7l/J84pneq1zeO6Y7gLYFXVWXuVycI/s="}]},"maintainers":[{"name":"thejh","email":"jannhorn@gmail.com"}],"directories":{}},"0.1.1":{"author":{"name":"Jann Horn","email":"jannhorn@googlemail.com"},"name":"nacl","description":"Networking and Cryptography library bindings - high-speed, high-security, easy-to-use crypto library","version":"0.1.1","homepage":"https://github.com/thejh/node-nacl","repository":{"type":"git","url":"git://github.com/thejh/node-nacl.git"},"dependencies":{},"devDependencies":{},"_npmUser":{"name":"thejh","email":"jannhorn@gmail.com"},"_id":"nacl@0.1.1","scripts":{"preinstall":"node-waf clean || true; node-waf configure build"},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.93","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"37707f6f813e5d4a1ecf5424e8d4d2d2e5ae9ace","tarball":"https://registry.npmjs.org/nacl/-/nacl-0.1.1.tgz","integrity":"sha512-mSJFEE6lX9IkYnyaQEMpbG5VhoIDR8POebHNueMGUucrN8JbK0/TI6m3+jYJyFiLVN+Ic2IZVKN/rlvqewSPlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+9iRJ+SDkIjxlsejl+w8h0ZuuZphWwCVEaTPTN+R0fgIhAOpC4gY4c764zZMmQ93gEyNy+gV2KZcOae/m1Ya8ofqF"}]},"maintainers":[{"name":"thejh","email":"jannhorn@gmail.com"}],"directories":{}},"0.1.2":{"author":{"name":"Jann Horn","email":"jannhorn@googlemail.com"},"name":"nacl","description":"Networking and Cryptography library bindings - high-speed, high-security, easy-to-use crypto library","version":"0.1.2","homepage":"https://github.com/thejh/node-nacl","repository":{"type":"git","url":"git://github.com/thejh/node-nacl.git"},"dependencies":{},"devDependencies":{},"_npmUser":{"name":"thejh","email":"jannhorn@gmail.com"},"_id":"nacl@0.1.2","scripts":{"preinstall":"node-waf clean || (exit 0); node-waf configure build"},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-beta-7","_nodeVersion":"v0.6.7-pre","_defaultsLoaded":true,"dist":{"shasum":"89a94c56b826c6b60e3ea4443d9f26a552cdad30","tarball":"https://registry.npmjs.org/nacl/-/nacl-0.1.2.tgz","integrity":"sha512-989jUaflvUT6c742lVBlF3rvb5VLVkoPqfCl37H4qsn+XHg3jSlFdy7OEPL03dXIcsZLajEl6t8J+wZtS7xp9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCeBN+KqorPOo3ycckBMPcnNer/BHeKD9tg6eaHUNXxAIgf0ihUm0VmoVn4Kizs1nVmzi6h37RtB2013neRk3y4UQ="}]},"readme":"Bindings for the [Networking and Cryptography library (NaCl)](http://nacl.cr.yp.to/).\nThis gives you a fast and easy-to-use crypto box: Put stuff inside, turn the key\nand it's automagically signed and encrypted. Reverse direction works, too.\nThere's also signing functionality.\nFor details about how to use that stuff, go to the NaCl homepage.\n\nMethods and Properties\n======================\n`box`, `unbox`, `sign` and `unsign` return `null` if one of the parameters is\nincorrect or a signature is invalid. The methods never throw.\n\nCrypto-Box\n----------\n\n    // encrypt and sign (message may be string or Buffer, all others must be Buffers, returns a Buffer)\n    box(message, nonce, pubkey, privkey)\n    // decrypt and validate (all parameters buffers, returns a Buffer or null)\n    unbox(box, nonce, pubkey, privkey)\n    // generates a new keypair, returns {private: <buffer>, public: <buffer>}\n    boxKeypair()\n    // lengths of nonces and public and private keys in bytes\n    // { nonce: x, pubkey: x, privkey: x }\n    lengths.box\n\nSignatures\n----------\n\n    // sign, returns the signed message as Buffer (message is a Buffer or a string, privkey is a Buffer)\n    sign(message, privkey)\n    // verify signature and remove it (parameters are Buffers, returns a Buffer or null)\n    unsign(message, pubkey)\n    // generates a new keypair, returns {private: <buffer>, public: <buffer>}\n    signKeypair()\n    // lengths of public and private keys in bytes\n    // { pubkey: x, privkey: x }\n    lengths.sign\n\nInstallation\n============\nThis takes some time because there's a long benchmark that takes place after the\nactual C++ library got compiled. Didn't measure the time, but it's more than a\nfew minutes.\n\n    npm install nacl\n","maintainers":[{"name":"thejh","email":"jannhorn@gmail.com"}],"directories":{}},"0.1.3":{"author":{"name":"Jann Horn","email":"jannhorn@googlemail.com"},"name":"nacl","description":"Networking and Cryptography library bindings - high-speed, high-security, easy-to-use crypto library","version":"0.1.3","homepage":"https://github.com/thejh/node-nacl","repository":{"type":"git","url":"git://github.com/thejh/node-nacl.git"},"dependencies":{},"devDependencies":{},"_npmUser":{"name":"thejh","email":"jannhorn@gmail.com"},"_id":"nacl@0.1.3","scripts":{"preinstall":"node-waf clean || (exit 0); node-waf configure build"},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-beta-7","_nodeVersion":"v0.6.7-pre","_defaultsLoaded":true,"dist":{"shasum":"91f27c38cba624618423334e051e8f76f3d6374b","tarball":"https://registry.npmjs.org/nacl/-/nacl-0.1.3.tgz","integrity":"sha512-QGg/Xmtnvxzzmbp6K4nnvKEDIkH/IFXfBLoZd1J81ub4d6olr7tGpfRkAPC0WdUFLXcsOOQmyRTHZdAUnF6PKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBUf0yiTlqIWffA1lAJICrGmGzFlMZtdvBU7vHq3mDaQAiBS2Y1q9/SlI7R81HoHaSir1dEd9NLLijYSxAQXX4dWZQ=="}]},"readme":"Bindings for the [Networking and Cryptography library (NaCl)](http://nacl.cr.yp.to/).\nThis gives you a fast and easy-to-use crypto box: Put stuff inside, turn the key\nand it's automagically signed and encrypted. Reverse direction works, too.\nThere's also signing functionality.\nFor details about how to use that stuff, go to the NaCl homepage.\n\nMethods and Properties\n======================\n`box`, `unbox`, `sign` and `unsign` return `null` if one of the parameters is\nincorrect or a signature is invalid. The methods never throw.\n\nCrypto-Box\n----------\n\n    // encrypt and sign (message may be string or Buffer, all others must be Buffers, returns a Buffer)\n    box(message, nonce, pubkey, privkey)\n    // decrypt and validate (all parameters buffers, returns a Buffer or null)\n    unbox(box, nonce, pubkey, privkey)\n    // generates a new keypair, returns {private: <buffer>, public: <buffer>}\n    boxKeypair()\n    // lengths of nonces and public and private keys in bytes\n    // { nonce: x, pubkey: x, privkey: x }\n    lengths.box\n\nSignatures\n----------\n\n    // sign, returns the signed message as Buffer (message is a Buffer or a string, privkey is a Buffer)\n    sign(message, privkey)\n    // verify signature and remove it (parameters are Buffers, returns a Buffer or null)\n    unsign(message, pubkey)\n    // generates a new keypair, returns {private: <buffer>, public: <buffer>}\n    signKeypair()\n    // lengths of public and private keys in bytes\n    // { pubkey: x, privkey: x }\n    lengths.sign\n\nInstallation\n============\nThis takes some time because there's a long benchmark that takes place after the\nactual C++ library got compiled. Didn't measure the time, but it's more than a\nfew minutes.\n\n    npm install nacl\n","maintainers":[{"name":"thejh","email":"jannhorn@gmail.com"}],"directories":{}}},"maintainers":[{"name":"thejh","email":"jannhorn@gmail.com"},{"name":"warner","email":"warner-npm@lothar.com"}],"time":{"modified":"2022-06-20T19:11:11.082Z","created":"2011-10-05T15:08:00.623Z","0.1.0":"2011-10-05T15:08:02.335Z","0.1.1":"2011-10-05T15:09:15.242Z","0.1.2":"2012-01-01T22:27:42.825Z","0.1.3":"2012-01-02T21:04:22.442Z"},"author":{"name":"Jann Horn","email":"jannhorn@googlemail.com"},"repository":{"type":"git","url":"git://github.com/thejh/node-nacl.git"},"users":{"thejh":true}}