Changed mac encryption