Compatibility with node 0.10 crypto APIs