flat assembler
Message board for the users of flat assembler.
Index
> Projects and Ideas > Simple password generator. Goto page 1, 2 Next |
Author |
|
MHajduk 18 Aug 2008, 16:17
Hi!
I want to present here program SimPaGen which is a simple in use, small and very flexible application for password creation. Written with FASM utility makes easier generation of safe passwords used for logging on various forums, e-mail accounts and other sites. Simple animation presenting program SimPaGen execution: Created passwords consist of characters belonging to any combination of these four predefined categories:
and the user-defined character set. Number of all possible non-empty character sets is equal to 2^224-1 (number of all non-empty subsets of the set containing symbols with hexadecimal codes from 0x20 to 0xFF). Maximal length of the generated password is equal to 9999 characters. Created password is copied into the clipboard by pushing the button Special hotkey WIN + F12 defined by application, generates a new password and copies it into the clipboard (also if the application window is not active). Program settings such as length of the created passwords and password character set are saved in the registry key HKEY_CURRENT_USER\Software\SimPaGen\<program_version> when the application ends. Application uses CryptoAPI functions from 'advapi32.dll' library in order to gain "cryptographically random" sequence of the password characters. Source file of the application contains embedded data of the manifest and the program icons. Program is an example of the edit fields subclassing method. Here you can download application with source file encoded in UTF-8. Project's homepage: http://mikhajduk.houa.org/EN/SimPaGen.php Because program was described in 3 language versions here you have also: Program tested under Windows XP SP3. Last edited by MHajduk on 17 Sep 2008, 20:16; edited 3 times in total |
|||
18 Aug 2008, 16:17 |
|
revolution 18 Aug 2008, 18:05
How about adding a button "copy to clipboard". Saves the user having to select and press ctrl-C.
|
|||
18 Aug 2008, 18:05 |
|
MHajduk 18 Aug 2008, 18:33
revolution wrote: How about adding a button "copy to clipboard". Saves the user having to select and press ctrl-C. |
|||
18 Aug 2008, 18:33 |
|
revolution 18 Aug 2008, 19:59
Tomasz Grysztar wrote: ... it should not contain characters that could be easily confused with each other in some fonts ... |
|||
18 Aug 2008, 19:59 |
|
Tomasz Grysztar 18 Aug 2008, 20:21
|
|||
18 Aug 2008, 20:21 |
|
dead_body 22 Aug 2008, 06:12
thanks, cool program
What about adding a format for password? For '111*' - will generate password with first '111'. For 'vitya_*_85' - will generate passwords wich begins with 'vitya_' and ends with '_85' |
|||
22 Aug 2008, 06:12 |
|
MHajduk 22 Aug 2008, 07:45
dead_body wrote: What about adding a format for password? |
|||
22 Aug 2008, 07:45 |
|
dead_body 23 Aug 2008, 17:27
Quote:
I will post your program at wasm.ru in sources? Links to your site will be added, of course. |
|||
23 Aug 2008, 17:27 |
|
MHajduk 24 Aug 2008, 12:16
dead_body wrote: I will post your program at wasm.ru in sources? |
|||
24 Aug 2008, 12:16 |
|
Picnic 02 Sep 2008, 13:05
Nice program MHajduk!
I'm missing something, i see no idata section using the include directive to import libraries. I saw that before, can you explain a bit? |
|||
02 Sep 2008, 13:05 |
|
MHajduk 02 Sep 2008, 13:29
Thanks, thimis.
I simply used some features of extended header 'win32wx.inc' which give possibility to "forget" about manually written import section. It's very convenient. You just need to put the line '.end <label_name>' (where '<label_name>' is the entry point of your program) at the end of the code and the import section will be added automatically. |
|||
02 Sep 2008, 13:29 |
|
Picnic 02 Sep 2008, 13:47
very convenient indeed, nice tip MHajduk
|
|||
02 Sep 2008, 13:47 |
|
MHajduk 17 Sep 2008, 20:22
New version of SimPaGen application available.
Additions and changes: [+] added button which copies password from the application edit field to the clipboard, [+] added hotkey WIN + F12 which generates new password and copies it to the clipboard (hotkey works also if application window is not active), [+] added possibility of saving actual program settings (password length and password character set) in the Windows registry, [x] simplified and corrected operations on the array which defines characteristic function of the password character set. For the download links see the first post of this thread. |
|||
17 Sep 2008, 20:22 |
|
bitRAKE 17 Sep 2008, 20:38
See a small error in display:
_________________ ¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup |
||||||||||
17 Sep 2008, 20:38 |
|
MHajduk 18 Sep 2008, 09:21
What version of the Windows system do you use, bitRAKE? I wrote this program under Windows XP SP3 Home Edition.
Even in the classic style of the Windows display I can see this: I would expect more elaborate report about circumstances of this strange behavior (if it was real). |
|||
18 Sep 2008, 09:21 |
|
shoorick 18 Sep 2008, 10:16
have no problems here - was clicking everything but no similar bug reproducing
_________________ UNICODE forever! |
||||||||||||||||||||||||||||
18 Sep 2008, 10:16 |
|
bitRAKE 18 Sep 2008, 13:53
MHajduk wrote: I would expect more elaborate report about circumstances of this strange behavior (if it was real). I'll try it on WinXP and report again. _________________ ¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup |
|||
18 Sep 2008, 13:53 |
|
MHajduk 18 Sep 2008, 15:05
To pass quoted text strings as a procedure parameters I use macros included with the extended header 'win32wx.inc'.
Probably for 64-bit system (as yours) should be used header file 'win64w.inc'? Maybe it will fix this problem (32-bit data alignment in 64-bit system???) for 64-bit Windows (I have 32-bit). |
|||
18 Sep 2008, 15:05 |
|
bitRAKE 18 Sep 2008, 16:14
Very good - alignment makes sense. Only those two strings start at an odd address - wide strings need to be word aligned at minimum.
Adding three lines to WIN32WX.INC (line 109): Code: if (1 and $)=0 ; force aligned nop ; wide character end if ; string call ..continue du value,0 ..continue: _________________ ¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup |
|||
18 Sep 2008, 16:14 |
|
Goto page 1, 2 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.