Key Machines for Bit and Double Bit Keys