Making src/core/crypto.js adhere to the style guide