AES encryption piece

finally can replicate mcrypt results (after converting to base64, that
is)