Picking modes in createCipher()

44 views
Skip to first unread message

James Coglan

unread,
Nov 14, 2012, 7:46:46 AM11/14/12
to Node list
I'm wondering why crypto.createCipher() lets me pick aes-256-cbc but not aes-256-ctr or aes-256-gcm. These modes are available in openssl and I can invoke them from Ruby, no problem. Why are they not available in Node?

Thanks,

Ben Noordhuis

unread,
Nov 14, 2012, 6:51:36 PM11/14/12
to nod...@googlegroups.com
On Wed, Nov 14, 2012 at 1:46 PM, James Coglan <jco...@gmail.com> wrote:
> I'm wondering why crypto.createCipher() lets me pick aes-256-cbc but not
> aes-256-ctr or aes-256-gcm. These modes are available in openssl and I can
> invoke them from Ruby, no problem. Why are they not available in Node?

They are - but only in master, not v0.8.
Reply all
Reply to author
Forward
0 new messages