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

Hallo,

ich habe folgendes Problem: ich soll ein Webinterface erstellen mit der Anbindung zur PostgreSQL- Datenbank.

Ich will nun die Passwörter verschlüsselt in der Datenbank speichern.

Die zahlreichen Manuels im Web konnten mir nicht helfen...

Weiß jemand, ob es eine ENCRYPT - Funktion in PostgreSQL gibt?

Wenn ja wie benutze lautet diese?

Danke voraus.

Hallo,

es gibt in PostgreSQL Encrypted

Nähere Informationen findest Du im Administrationshandbuch von PostgreSQL. Das Handbuch kannst Du als pdf von www.postgresql.org herunterladen.

Die Abschnitte die Dich interessieren dürften sind:

CREATEUSER

ENCRYPTED

MD5

Cu

Atreju

  • 2 Wochen später...
  • Autor

HI,

Danke für die Antwort, aber ich brauche die ENCRYPTED für die Tabelle.

Ich habe eine Tabelle mit Usern und Passwort will ich nicht im Klartext speichern, sondern verschlüsselt.

Bei MySQL war das ENCRYPT und bei PostgreSQL?

...gibt es sowas soweit ich weiss nicht, allerdings hast du 2 Möglichkeiten, die ich vorschlagen würde:

1. Du verschlüsselst die Passworte bevor du sie in die Datenbank einträgst. Dies müsstest du in deiner Anwendung festlegen.

2. Du kannst in Postgres sehr ausgiebige Funktionen programmieren. Du programmierst dir eine Funktion in C oder Perl (oder ähnliches) die das Passwort verschlüsselt und einträgt.

gruß gurkenpapst

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.