How to use the crypto module