Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  convert-sha1.pl

  Sprache: Shell
 

#!/usr/bin/perl -w
use strict;

# This is public domain code.  Do whatever you want with it.
# It was originally included in Clinton Wong's Apache 1.3.6 SHA1/ldif
# patch distribution as sample code for converting accounts from
# ldif format (as used by Netscape web servers) to Apache password format.

my $uid='';
my $passwd='';

while (my $line = <>) {
  chomp $line;
  if ( $line =~ /uid:\s*(.+)/) { $uid = $1 }
  if ( $line =~ /userpassword:\s*(\{\w+\}.+)/) {
    $passwd = $1;
    $passwd =~ s/^\{crypt\}//i;  # Apache stores crypt without a magic string
  }

  if (length($line)==0) {

    if (length $uid and length $passwd) {
      print $uid, ':', $passwd, "\n";
    } # output if we have something to print

    $uid = '';
    $passwd = '';

  } # if newline
# while something to read

# handle last entry if there isn't a newline before EOF
    if (length $uid and length $passwd) {
  print $uid, ':', $passwd, "\n";
}


Messung V0.5 in Prozent
C=94 H=91 G=92

¤ Dauer der Verarbeitung: 0.14 Sekunden  (vorverarbeitet am  2026-06-06) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik