Documentation update

Added some basic documentation for crypto.