A student who was studying for a master’s degree in computer science has been jailed after secretly filming himself sexually abusing a young girl.