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.

NCRYPTX

Featured Replies

Posted

...

Edited by JMC31337

I'm gonna be honest. That's some of the worst source I've seen in awhile...

autoKeyE/D() looks like a simple substitution cipher, which you could have made a lot easier with an array using the array key as the byte you want to replace and the value of array[key] as the new byte. Also known as an S-box.

Your Caesar shift doesn't look like one I've ever seen either. If it was right, you'd be able to specify the shift amount, then you could implement rot13 with caesar(ch, 13);

So yeah... You should learn good programming practices.

Edited by Hyperlisk

  • Author

I'm gonna be honest. That's some of the worst source I've seen in awhile...

autoKeyE/D() looks like a simple substitution cipher, which you could have made a lot easier with an array using the array key as the byte you want to replace and the value of array[key] as the new byte. Also known as an S-box.

Your Caesar shift doesn't look like one I've ever seen either. If it was right, you'd be able to specify the shift amount, then you could implement rot13 with caesar(ch, 13);

So yeah... You should learn good programming practices.

yea... an array would def would have been the way to go.. i took the easy way out... i'll check out the s box link and i'll work on 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.