A basic implementation of MAC extension attack.