Works for the few tests I made - 160 bits