Prime numbers do factor into cryptography though, they use prime numbers for key generation and key exchange.