predistributed key format changed to fit network type
few bugs removed from crypto and cryptoRaw