Towards secure authentication: Detecting replay attacks via compression artifacts