crypto.DEFAULT_ENCODING

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.

doc_Nodejs
2016-04-30 04:38:29
Comments
Leave a Comment

Please login to continue.