change method for generate random IV