Made privateKey and publicKey representation as bytes universal to simplify conversions