A Self-Contained Biometric Sensor for Ubiquitous Autentication