Hardware implementation of the authentication system using a tapped rhythm