Nanoelectronic devices for hardware and software security. (2021)