Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Generate different Keys

Featured Replies

Posted

I have question about how to generate different keys like

12345-67890 is key and second key is 09876-54321 and many others

So how to do in asm.. Can some tell me this! :(

Edited by CRAZY-COOL / M.E.I.S

Use a PRNG to obtain random values for parts of the key that dosent matter.

Doc

  • Author

I don't want to generate random numbers, i want it like generating different keys saved in it. And if i am wrong please you u can just mention an example below :rolleyes:

So you're asking how to write a keygen?

Same answer as always - lena's tuts, specifically number 36. I think you have a lot of reading to do yet though!

  • Author

No bro, i don't want to write to a keygen or need need any source code, i just wan't to generate keys, the pseudo code for only generating part. and i am through with lena#36 tutorial :D

The problem is like if i press generate button i can generate one key and if i press again the the generate button it should out put the next key i want, you can say it even as keymaker!

Geez ure one hard headed individual. Like I said above use a PRNG to get random values for parts of the algo that does not have to be a specific value. Some algos you can do this and some you can not.

Extremely simple example.....

INCLUDE MASM32.INC
INCLUDELIB MASM32.LIB
INCLUDE \MASM32\MACROS\MACROS.ASM
.code
SeedPRNG PROC
INVOKE GetTickCount
INVOKE nseed,EAX
RET
SeedPRNG ENDPKeygen PROC hWnd:DWORD
Local SerialBuffer[255]:BYTE
Local dwSerial1:DWORD
Local dwSerial2:DWORD
INVOKE RtlZeroMemory,ADDR SerialBuffer,SIZEOF SerialBuffer
INVOKE nrandom,-1
MOV dwSerial1,EAX
MOV dwSerial2,EAX
XOR dwSerial2,12345678h
XOR dwSerial1,12345h
INVOKE wsprintf,ADDR SerialBuffer,SADD("%.8X-%.8X"),dwSerial1,dwSerial2
INVOKE SetDlgItemText,hWnd,IDC_SERIAL,addr SerialBuffer
RET
Keygen ENDP

Doc

  • Author

That what i wanted thanks mate :D

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.