phpbar.de logo

Mailinglisten-Archive

[php] Funktion zur Hexumwandlung von C nach PHP portieren

[php] Funktion zur Hexumwandlung von C nach PHP portieren

Alex Haeussel php at haeussel.net
Die Mar 18 16:00:01 CET 2008


Hi,

sorry, da hat es wohl bim kopieren die Zeilenumbrüche verspult:
Hoffe jetzt ist das lesbar.

The following section shows the step-by-step results of the key
calculations:
ulong sum = 0;

sum_add(&sum, ""); // "Stop" param, sum is 0 after this operation

sum_add(&sum, ""); // "Scope" param, sum is 0 after this operation

sum_add(&sum, "Dr.X"); // User id, sum is 0x00003120

sum_add(&sum, "1065507963"); // Time stamp, sum is 0x0000e6f0

sum_add(&sum, "12121212-1212"); // Patient id, sum is 0x0000fe20

sum_add(&sum, "1234^2345"); // Accession numbers, sum is 0x00009c40

sum_add(&sum, "001^001"); // Exam numbers, sum is 0x0000fc60

sum_add(&sum, "test"); // System password, sum is 0x000042d0

Grüße

Alex Häussel



php::bar PHP Wiki   -   Listenarchive