A follow up is why does createCipher accept a 32 char key and createCipheriv doesn't?
On Friday, 3 October 2014 14:37:51 UTC+1, Chris Casey wrote: > > Trying to enable java guys to reproduce the results I get using > crypto.createCipher(algorithm, password) for AES-256-CBC. > They have the same key (password) but cannot reproduce the same results. > They say they need an IV but this function does not use one (visibly). > > Does this function (as opposed to the createCipheriv) use a null or > generated iv that can be reproduced elsewhere? > > Unfortunately the key being input into this is generated elsewhere and > won't fit into the createCipheriv call. > > Please excuse ignorance of questions but really not a cryptography guy, > just trying to get this to work. > Been bashing my head on this for a few days. > > Chris > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/cbf1780e-206d-46f1-9f87-29756a303b08%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
