docs: function(publicKey) {
      if (publicKey.slice(0, 2) != '04') {
        throw new Error('Incorrect public key format. Wrong prefix.');
      }
  
      if (publicKey.length != (64 + 1) * 2) { // 64 bytes X and Y plus 1 prefix byte
        throw new Error('Incorrect public key format. Wrong length.');
      }
  
      return this.compressCoordinate(publicKey.slice(2, 66), publicKey.slice(66, 130));
    }