Update encryption.php

Better documentation, remove the unused $iv parameter