wrote docs for crypto