Is there a way to safely read a password into a SecByteBlock from stdin? const unsigned maxLen = 100; SecByteBlock password(maxLen+1); cin.getline(reinterpret_cast<char*>(password.BytePtr()), maxLen+1);
^^ cin may do some buffering behind the scenes, correct? -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. More information about Crypto++ and this group is available at http://www.cryptopp.com.
