advanced encryption standard class, 2 way encrpytion, hash & iv options