Deep Learning for Computational Problems in Hardware Security