#include "codecrypt.h" #include #include #include using namespace std; ostream& operator<<(ostream&o, ccr::polynomial p) { o << "polynomial degree " << p.degree() << ':' << endl; for(int i=0,e=p.degree();i<=e;++i) o << p[i] << ' '; o << endl; return o; } ostream& operator<<(ostream&o, ccr::permutation p) { o << "permutation over " << p.size() << " elements:" << endl; for(uint i=0;i