Category : text-files

The following code is used to store password/key in a binary file "rs1.dat" whose sole purpose is that it shouldn’t be directly readable from "rs1.dat" but, still the password is stored as a plain text in "rs1.dat" and hence is directly readable from there. pls help me to resolve it. void changeKey(authenticate m) { rs1.open("rs1.dat",ios::in|ios::out|ios::ate|ios::binary); ..

Read more