server and client cryto