How to use the cryptographic API (e.g. md5 checksum)?