Magnetic Nanowires toward Authentication