Download project from http://thenerdshow.com/c/hasher.zip
Note: Despite their appearance, using a hash generated password is not inherently more secure than a normal password. Hashes are more obscure, yes, but we all have heard that "security through obscurity" is no security at all. If anything, this shows why a good password should guard against dictionary attacks by any of several methods:
1. Use two or more words
2. Misspell words
3. Add numbers in random places
4. Avoid words people could guess about you
5. Use different passwords for different levels of security. Obviously you wouldn't want somebody to hack your facebook password and use that to connect to your bank...
This video is licensed under the Creative Commons Attribution 2.5 Generic license. In short: you are free to share and make derivatives of this work under the conditions that you appropriately attribute it. Any of the above conditions can be waived if you get permission from the copyright holder.
For more info about Glade, visit
http://glade.gnome.org/
Glade is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This work is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
This video contains parts or visuals of a free software program. You may use it freely according to its particular license.
License for Scintilla and SciTE
http://www.scintilla.org/SciTE.html
Copyright 1998-2003 by Neil Hodgson neilh@scintilla.org
All Rights Reserved
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation.
NEIL HODGSON DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS, IN NO EVENT SHALL NEIL HODGSON BE LIABLE FOR ANY
SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
Hash has 16 bytes, string representation of it - 32 bytes + 1 - null terminator, isn't is?
P.S. Nice series, I'm about getting started.
modosansreves 2 years ago
Yeah, technically it would be an error, but g_strlcat glosses it over by reallocating an extra byte and appending the null terminator. We should have also made sure *hexstring was not null before doing stuff with it. Oh well.
Sloppy code there... Good job catching it!
themanyone 2 years ago