DIY magnetic card (3 Tracks) reader

Hi everyone,
i do on computer security but i feel a lack between IT and hardware. my study nowadays is on malware and pen-testing, but i have a passion to learn about magnetic and RFID cards, how data being stored and read.
does arduino provide all needed pieces to create a magnetic card reader? if yes, would it be cheap or there is other alternative ways to build a card reader/
thank you

does arduino provide all needed pieces to create a magnetic card reader?

Yes, though it is by no means the best at doing so. I'm not sure why you'd want to, though, since RFID and magnetic card readers are relatively cheap.