Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto: fix default encoding of LazyTransform
PullRequest nodejs#5522 and nodejs#5500 described the change of the default encoding into UTF8 in crypto functions. This however was only changed for the non-streaming API. The streaming API still used binary as the default encoding. This commit will change the default streaming API encoding to UTF8 to make both APIs behave the same. It will also add tests to validate the behavior.
- Loading branch information