Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

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.

Empfohlene Antworten

Veröffentlicht

Moin,

ich arbeite gerade die Abschlussprüfungen durch und bin komplett überfragt wie ich an die Aufgabe rangehen soll.

Hat jemand Ahnung? In der Lösung steht auch keine Erklärung :/


image.thumb.png.28d959c584afb927430803f921561dd3.png

Wie Mirel schon schrieb, versuche mal so vorzugehen, wenn Du das noch nicht verstehst, dann schau dir den Spoiler an:

Spoiler

Du sollst die Ausgangsinformation mit einem gegebenen Schlüssel mittels XOR verschlüsseln.

Also nimmst Du dir die Binäre Ausgangszahl und den Schlüssel, wendest die XOR-Tabelle (steht oben in der Aufgabe) an und erhälst eine verschlüsselte binäre Zahl.

 

01001000 (Ausgangsinformation)
00001010 (Schlüssel)
__________
 ????????   (verschlüsselte Information)

 

Danach musst Du diese in eine Hexadezimalzahl umwandeln. Dazu nimmst Du dir die binäre Zahl in Viererblöcken. Jeden Block kannst Du in Dezimal benennen.

Beispiel für die Ausgangsinformation: 0100|1000 -> 4|8 -> 48 -> (laut UTF-8-Code Tabelle) H

So machst Du das dann auch für die verschlüsselte Information.

 

 

  • 4 Monate später...

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

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.