Adding the ability to handle random IVs for security purposes