How to get key and init vector by password on crypto

There is a code var cipher = crypto.createCipher('aes-256-cbc','fldkfew')

Get it's own cipher by self-defined secret code.

But what if I want encrypt on node.js and decripyt within other language ?

If I want decrypt in other language, I must get the secret key and init vector.

But it seems the node.js put the 2 information behind the scene and I can not get it.

Is there anyway to do decrypt without change the node.js code ?