Bifid cipher: Difference between revisions

m
Correct minor error.
m (Made code more C++ idiomatic.)
m (Correct minor error.)
Line 219:
class Bifid {
public:
Bifid(const int32_t& n, const std::string& text) {
if ( text.length() != n * n ) {
throw new std::invalid_argument("Incorrect length of text");
871

edits