encryption_key = 0F777D55FDB154E7D8754C3C0E660A65
data = 112233440220160120165502121122334455660811223344156D6173746572706173735F757365720104800000000000
iv = 00000000000000000000000000000000
result = 4A2D82F722F2720E58CE3170A2398783B5F8F1D40404D90A03019C1082DA47D3E855BD8A09F294D3B06076144286F7F1
when i run these values at an online aes calculator the result is matched http://extranet.cryptomathic.com/aescalc/index?key=0F777D55FDB154E7D8754C3C0E660A65&iv=00000000000000000000000000000000&input=112233440220160120165502121122334455660811223344156D6173746572706173735F757365720104800000000000&mode=cbc&action=Encrypt&output=
but the node js code does not work:
var crypto, ALGORITHM, KEY;
crypto = require('crypto');
ALGORITHM = 'AES-256-CBC';
KEY = new Buffer('0F777D55FDB154E7D8754C3C0E660A65');
var IV = new Buffer('0000000000000000');
var cipher_text;
var encryptor;
encryptor = crypto.createCipheriv(ALGORITHM, KEY, IV);
encryptor.setEncoding('utf8');
encryptor.write('112233440220160120165502121122334455660811223344156D6173746572706173735F757365720104800000000000');
encryptor.end();
cipher_text = encryptor.read();
console.log(cipher_text);
