padding in vector with zeros
问题 my plaintext is first converted to binary text, then it should be divided into 64 bit blocks and the key has to encrypted tese blocks separately. for example, if my text has 90 bits it should be supplemented with zeros so that it has 128 bits. I do not know how to do this. here is my code: string ifile = "filetxt.txt"; string ofile = "file2.txt"; string key = "keywordd"; vector<int> k; vector<int> txt; char text; vector<int> o; int i; int c = 0; int d = 1; void f() { ifstream ist ("filetxt