Was looking at the nhash.c function and it's always masking the result to 16 bits. final(a,b,c); c=(32767&c); return c;
Don't we want 32 bits from nhash for FT8 so we can use 28 bits or such for the message? Or at least nhash.c to not automatically mask to 16 bits for future needs? How many bits do we use for the FT8 hashed call signs? #include <stdio.h>#include <string.h>#include "nhash.h" intmain(int argc, char *argv[]){ unsigned int c = nhash(argv[1],strlen(argv[1]),146); printf("%08x\n",c);} ./nh W9MDB00007f56./nh K1JT000039af de Mike W9MDB
_______________________________________________ wsjt-devel mailing list wsjt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wsjt-devel