aboutsummaryrefslogtreecommitdiff
path: root/src/pk.cpp
AgeCommit message (Collapse)Author
2019-05-14add more consts and commentsHubert Chathi
2019-03-13rename functions to be more consistentHubert Chathi
2019-02-01call the right function and remove unnecessary includeHubert Chathi
2019-01-29Add signing class to the pk moduleDavid Baker
2018-10-15use the correct error codeHubert Chathi
2018-10-11Add aliases for deprecated functionsDavid Baker
2018-10-05Merge branch 'master' into dbkr/pk_private_export_importHubert Chathi
2018-10-05fix some code style issues and typosHubert Chathi
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-09-19Fix output buffer length checkDavid Baker
...when generating a key in PkDecryption. The pubkey is base64ed on the output, so will be longer.
2018-06-28use void in type signatures for functions with no argumentsHubert Chathi
2018-06-28add functions for pickling/unpickling a decryption objectHubert Chathi
2018-06-27add initial implementation of basic private key encryption functionalityHubert Chathi