c++ - Asymmetric Crypto for Network and File En/Decryption(C ++) -


i'm developing tool i've use kind of crypto. i'd prefer use cryptopp need advice crypto should used.

my tool should able communicate server , whole session should encrypted.

so 1 asymmetric crypto required server <-> client , client <-> server thought using different keys those. i'm in need of crypto files transfered. tool should able read them , server crypt them.

could adivce me asymmetric crypto algorithmn , i'd modify abit,because don't want people crack it.(i'm aware there people can i'd make not easy @ all)

oh my....

i'm developing tool i've use kind of crypto. ... 1 asymmetric crypto required server <-> client , client <-> server thought using different keys those. ...

so, need key exchange or agreement, , bulk encryption.

in case should consider peter gutmann's cryptlib or daniel j. bernstein's nacl. that's because provide 'canned' high level primitives easy use , hard misuse.

jack llyod's botan might helpful, i'm not familiar enough library say. know has clean designs , modern interfaces.

crypto++ great library, not library beginners. have combine primitives.

have considered used standard tls? (form ntoskrnl)

there many problems ssl/tls in practice, should avoid it. read chapter 1 , 6 dr. gutmann's engineering security.

if insist upon ssl/tls, should harden channel implementing pinning. see, example, certificate , public key pinning.

... , i'd modify bit, because don't want people crack it.

that's bad idea. leave crypto alone , use as-is.


Comments