From cryptography to blockchain analysis