Implemented publickey and encodepoint