Refactor code
Refactor code. Implement VMAC.
Perform half of the authentication.