Semirings as building blocks in cryptography. (2020)