c++ Programming Glossary: salt
Why not use pointers for everything in C++? http://stackoverflow.com/questions/1064325/why-not-use-pointers-for-everything-in-c same data. So take the final example here with a grain of salt. Real world code is a bit trickier but it shows the general..
Saving passwords inside an application http://stackoverflow.com/questions/1484440/saving-passwords-inside-an-application issues. In this case you will hash the password with some salt and you'll store the username salt and hashed password in such.. the password with some salt and you'll store the username salt and hashed password in such a way that given the username you.. send on to other applications. First off that means that salts and hashes are not relevant you need to reverse the masking..
How do I make a C++ macro behave like a function? http://stackoverflow.com/questions/163365/how-do-i-make-a-c-macro-behave-like-a-function functions to them at all times. Any compiler worth its salt should be capable of inlining a small function as if it were..
count number of files with a given extension in a directory - C++? http://stackoverflow.com/questions/1935274/count-number-of-files-with-a-given-extension-in-a-directory-c about directory handling but just about any OS worth its salt will have such a beast one example being the findfirst findnext..
Can const-correctness improve performance? http://stackoverflow.com/questions/3435026/can-const-correctness-improve-performance buffer of the string That said any compiler worth it's salt is going to be able to detect if a variable is really constant..
a class-key must be declared when declaring a friend http://stackoverflow.com/questions/656948/a-class-key-must-be-declared-when-declaring-a-friend if needed otherwise it just seems like syntactic salt to me. I have been merrily using friend statements without the..
Can we rely on the reduce-capacity trick? http://stackoverflow.com/questions/7829018/can-we-rely-on-the-reduce-capacity-trick do that though Obviously take this all with a grain of salt. I'm quoting from the C draft from Feb28 '11 and I can't find..
|