Ex-spook tells 2 other countries their codes are toast