Refactored "crypt.cpp"

Minor formatting fixes.