Fix example crypt to include trailing $

Fixes #2305.