Skip to content

v4.0.0-alpha.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@vadimavdeev vadimavdeev released this 15 Aug 14:55
· 255 commits to master since this release
a8ae25b

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:
    virgilCrypto.encrypt('hello world', myPublicKey);
    is now allowed, and is functionally equivalent to:
    virgilCrypto.encrypt({ value: 'hello world', encoding: 'utf8' }, myPublicKey);
    The assumptions about encoding of the passed string are the same as they were in v3.x and differ from one
    method to another. Please consult the source code when in doubt.