Fast construction of binary ring FCSRs for hardware stream ciphers