This phrase originated in the mid 19th century and comes from a simple form of cryptography, in which a hidden meaning was conveyed by secreting it between lines of text. ( source ) It's modern day meaning is similar in that a meaning isn't obvious but has to be discovered.