use facts to pick encryption method based on osfamily