On Friday, October 3, 2014 9:37:51 AM UTC-4, Chris Casey wrote:
>
> Does this function (as opposed to the createCipheriv) use a null or 
> generated iv that can be reproduced elsewhere?
>

`createCipher()` generates[1] a key and IV from the supplied password using 
`EVP_BytesToKey()`[2].

 

>
> Unfortunately the key being input into this is generated elsewhere and 
> won't fit into the createCipheriv call.
>
>
Perhaps you can create a small snippet of the relevant code in Java that 
you're trying to get to work in node and provide some example inputs and 
expected outputs.
 

[1] 
https://github.com/joyent/node/blob/6e689ece46726f39bdf93f1f35e01656f8fe27dc/src/node_crypto.cc#L2131
[2] https://www.openssl.org/docs/crypto/EVP_BytesToKey.html

-- 
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/24ff59e1-966c-4486-adc1-1698d66b96fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to