crypto.DEFAULT_ENCODING
The default encoding to use for functions that can take either strings or buffers. The default value is 'buffer'
, which makes methods default to Buffer
objects.
The crypto.DEFAULT_ENCODING
mechanism is provided for backwards compatibility with legacy programs that expect 'binary'
to be the default encoding.
New applications should expect the default to be 'buffer'
. This property may become deprecated in a future Node.js release.
Please login to continue.