Mini AES represents AES in simple way. This cipher is consisted of 2 rounds 16 bits block size and key length. Its operation is mainly built of nibble XOR, nibble substitution, column shift and multiplication along GF(24) with modulo 0x03. The matrix multiplication of Mini AES mix column is designed such that the inverse process is equal to the process itself. In addition, shift row behaves the same as mixcolumn which its inverse process is equal to the process itself.
This code is developed is MPLAB v8.0 and released for free under GNU Public License v3.0 terms. Below are pictures taken during simulation
Feel free to use this code and take your own risk .