Shortcut: see the community wiki answer below.
Original question
I need both a reference and examples relevant to crypto for the TeX dialect we can use on crypto.stackexchange.com. I know there is tex.stackexchange.comtex.stackexchange.com but they do not even have the TeX extension enabled in their own site, nor have a tag for TeX-as-in-stackexchange, and I do not want to ask dumb questions.
Beside trial-and-error, plus reverse-engineering of other posts using "Show Math As TeX Commands", my lifebuoy is this TeX reference cardTeX reference card (which is only very often online). But none of this tells me:
- how to make $SHA-1(m)$$SHA-256(m)$ good-looking;
- an easy reminder that integers are $\mathbb N$;
- if the product of integers a and b should be $a \cdot b$ or something else (somewhat I dislike $ab$).
Meta is notnow appropriate, since TeX is not enabled, as apparent above.
Update: Paŭlo Ebermann linked to that sandbox with relevant examples. That links to mathurlMathurl which seemsis a nice sandbox with a few reminders, but lacks elaborate canned examples; at least now I can write $\mathtt{SHA1}(m)$, but still that pesky - resist$-$ resists. Also, an issue is that entering foo in foo in mathurl shows what $$foo$$$$foo$$ gives on crypto.stackexchange.com, not what $foo$$foo$ gives.