This got moved into `utils/crypto.py`--but is it app-specific?  If so, let me know and I'll pass as a param.  If not, then we're all set!