adding documentation of the crypto functions