Search your library for up to X cards, put those cards into your hand, then shuffle.
"There are some secrets so dark no human mind should ever contain them. Interested?" —Nefarox, Overlord of Grixis