const QByteArray MyKey32::getPublicKeyClassic ( ) const{ quint8 buf [65]; getPublicKey ( buf );//buf [0] = 0x04; return QByteArray ( (const char*)buf, 65 );}//--------------------------------------------------------------const QByteArray MyKey32::getPublicKeyCompressed ( ) const{ quint8 buf [65]; getPublicKey ( buf ); buf [0] = 0x02 + ( buf [64] & 1 ); return QByteArray ( (const char*)buf, 33 );}
buf [0] = 0x02 + ( buf [64] & 1 );