Which mathematical concept represents the primary threat to current RSA and ECC encryption standards, necessitating the legal transition to post-quantum cryptography (PQC)?