Saturday, 8 April 2017

Converting nodejs cipher code to java

So I have this decryption code snipped from nodejs and I'm trying to convert that to java with no success, can someone help me with it?

var cipher = crypto.createDecipheriv('bf-cbc', key, new Buffer([0, 1, 2, 3, 4, 5, 6, 7])); cipher.setAutoPadding(false); bytes = cipher.update(bytes, 'binary', 'binary') + cipher.final();



via Revo

No comments:

Post a Comment