MySQL uses '-- ' to designate a comment. '--- ' makes MySQL (at least v. 5.5) err out.
Fix for issue #2: don't use empty (or no) salt when cryptscheme is des or md5. It results in sha512 hashes, instead of md5 as expected, on my system.