How do you serailize an RSA public key for SHA1-hashing in MTProto?
I am trying to get the SHA1 hash of my Telegram API public key so that I can authenticate with Telegram’s servers. Right now, I’m trying to concatenate two serialized strings of n
and e
from the certificate as described here.