Skip to content

Example Code Broken #6

@BDiehr

Description

@BDiehr

Nodes crypto library requires an initialization vector to be passed in, where as the example shows just a key.

          | Sun, 30 Aug 2015 23:04:35 GMT dev Error: Invalid IV length
          |     at Error (native)
          |     at new Cipheriv (crypto.js:225:16)
          |     at Cipheriv (crypto.js:223:12)
          |     at CryptoStream (/home/src/node_modules/node-cryptostream/index.js:11:18)
          |     at new EncryptStream (/home/src/node_modules/node-cryptostream/index.js:40:16)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions