var params = {
msg: "If you see me, I am working.",
encrypt_for: bob,
sign_with: alice
};
// where bob and alice are KeyManager objects with public and unlocked private keys
kbpgp.box(params, function(err, result_string, result_buffer) {
console.log('\nencrypted message\n===========')
console.log(result_string)
})
Dans cet extrait, je peux préciser que KeyPair j'utilise pour signer.à l'aide kbpgp • comment puis-je préciser que KeyPair à encrypt_with lors de l'appel kbpgp.box (params, cb)
Comment spécifier l'objet KeyManager avec lequel je veux crypter le message, mais ne pas signer?
Existe-t-il une option encrypt_with
qui me manque?