concept smart card in category cryptography

This is an excerpt from Manning's book Real-World Cryptography.
Highly adversarial environments. Due to advances in technology, some cryptographic applications are sometimes in the hand of the adversary. For example, smart cards (think credit cards) sometimes need to generate random numbers for cryptographic operations (like signatures) in an environment where the adversary might be in control of the available sources of entropy (perhaps being able to always make them produce 0s for example). A common solution to this entropy starvation issue is the use of hardware random number generators (so-called TRNGs).
Smart cards are small chips usually seen packaged inside plastic cards like bank cards, that is if your bank follows the EMV standard,[3] and were invented in the early 70’s following advances in microelectronics. Smart cards started as a practical way to get everyone a pocket computer! Indeed, a modern smart card embeds its own CPU, different types of programmable or non-programmable memory (ROM, RAM, and EEPROM), inputs and outputs, a hardware random number generator (also called TRNG as you’ve learned in chapter 8), and so on. They’re "smart" in the sense that they can run programs, unlike the not-so-smart cards that could only store data via a magnetic stripe (which could be easily copied via the skimmers I talked about previously). Most smart cards allow developers to write small and contained applications that can run on the card. The most popular standard supported by smart cards is JavaCard,[4] which allow developers to write Java-like applications.
Today, it seems like most people have a much more powerful computer in their pockets, so smart cards are probably going to die.
Smart cards need to be activated by inserting it into a card reader. More recently cards have been augmented with the near-field communication (NFC) protocol to achieve the same result via radio frequencies (so by getting close to, as opposed to touching, another device).