Add caveats section in the doc of crypto
This is originally from https://github.com/nodejs/node-v0.x-archive/pull/25564.
This adds caveats section in the crypto api documentation to notify users of the risks of weak algorithms and small keys and revises examples to use safe ones.