International Journal of Computer Applications
The message that originated from an authorized user is defined as User Authentication and is provided by Message Authentication Codes (MAC). The provision of assurance that the message is not been modified is defined as Message Authentication and is provided by Hash functions. Authenticated code is generated when MAC uses Hash function it is called Hash-based MAC (HMAC). In this paper, an algorithm is proposed for HMAC which uses SHA-2 as cryptographic hash function. The algorithm is implemented using GUI based controls in MATLAB toolbox which enables the algorithm to be friendly with the user.