v4.0.0-alpha.1
Pre-release
Pre-release
·
255 commits
to master
since this release
August 15, 2019
Fixed
- Performance problems in
decrypt*
methods. - Backward compatibility with version 3.x of this library by accepting strings where binary data is expected, e.g. this:
is now allowed, and is functionally equivalent to:
virgilCrypto.encrypt('hello world', myPublicKey);
The assumptions about encoding of the passed string are the same as they were in v3.x and differ from onevirgilCrypto.encrypt({ value: 'hello world', encoding: 'utf8' }, myPublicKey);
method to another. Please consult the source code when in doubt.