aboutsummaryrefslogtreecommitdiff
path: root/tests/test_pk.cpp
AgeCommit message (Collapse)Author
2018-10-02Work with PkDecryption keys by their private keysDavid Baker
Change interface to allow the app to get the private part of the key and instantiate a decryption object from just the private part of the key. Changes the function generating a key from random bytes to be initialising a key with a private key (because it's exactly the same thing). Exports & imports private key parts as ArrayBuffer at JS level rather than base64 assuming we are moving that way in general.
2018-10-01Remove trailing letter 'K's from the test pubkeysDavid Baker
base64 encoded newlines somehow?
2018-06-28add functions for pickling/unpickling a decryption objectHubert Chathi
2018-06-28improve public key encryption unit testHubert Chathi
2018-06-27add initial implementation of basic private key encryption functionalityHubert Chathi