add shift and mask constants used with known_hosts methods