Initializing Crypto in CLient and Server