Since nobody wants to do things the proper way, here is a hack:
- This works only with Authors that do not contain a word that starts with a lower-case letter
- Append
\Bibkeyhack StO to your author, with StO being the key.
Command definition: (That's all!)
\newcommand{\Bibkeyhack}[3]{}
If you want keys with a different length, replace 3 with your length.
For 1. there is a workaround:
\newcommand{\SmallHack}[1]{\lowercase{#1}}
Notice that both commands start upper-case, so that rule 1. is not violated.
Working example:
author = {\SmallHack No \SmallHack One 910 (StackOverflow User 118593)\Bibkeyhack StO}
Which will result in [StO17]: no one 910. Image proof:

Important: If you put a space between ) and \Bibkeyhack, the result will look like this:

Complete tex file:
\documentclass{article}
\newcommand{\SmallHack}[1]{\lowercase{#1}}
\newcommand{\Bibkeyhack}[3]{}
\begin{document}
Hereby I cite \cite{myself}.
\bibliographystyle{alpha}
\bibliography{bibliography}
\end{document}
bibliography.bib:
@misc{myself,
author = {\SmallHack No \SmallHack One 910 (StackOverflow User 118593)\Bibkeyhack StO},
title = {{StackOverflow Answer}},
howpublished = "https://stackoverflow.com",
year = {2017}
}
Output:

biblatex, or do you usenatbib, BibTeX? As it stands now your question and answer is quite unlikely to help future visitors. – moewe Jul 04 '17 at 05:01