Statistics for Algebraic Tori in Cryptography