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.

How to encrypt a string

Featured Replies

Posted

The application is a simply messagebox.

I can use WinHex to open the exe file, and search and replace "HelloWorld" string.

Is there a way to encrypt such string, so that I can not find "HelloWorld" ?

Source code:

#include <windows.h>

int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) {

MessageBox(NULL, "HelloWorld", "Title", MB_OK);

return 0;

}

Thanks for helping.

If you just want to stop a simple text string search then XOR encode each character with a fixed value when you store the character string and XOR decode again when you use it.

This will stop a casual text string search but won't stop any reasonably experienced cracker.

Ziggy

  • Author

Thanks for the hint :)

I got it.

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.