The moisture in the bag is going to cause it to mould.
The best way, but not ideal is the freezer. This will keep it the longest and stop it from moulding. But freezing bursts cells and adds to the degeneration of the weed.
Someone recomended them vacumn bags to me, or a glass jar. But I have yet to try those 2 methods.