mcrypt

Die mcrypt-Bibliothek unterstützt eine Vielzahl von Verschlüsselungs-Blockalgorithmen wie DES, TripleDES, Blowfish (Standard), 3-WAY, SAFER-SK64, SAFER-SK128, TWOFISH, TEA, RC2 und GOST im CBC-, OFB-, CFB- und ECB-Verschlüsselungsmodus. Außerdem werden die proprietären Algorithmen RC6 und IDEA unterstützt.

string mcrypt_cbc(int cipher, string key, string data, int mode[, string iv]) 3.0.8

Ver-/Entschlüsselt Daten mit CBC mit Hilfe eines Schlüssels mit cipher und optionalem Initialisierungsvektor iv.

string mcrypt_cfb(int cipher, string key, string data, int mode[, string iv]) 3.0.8

Ver-/Entschlüsselt Daten mit CFB mit Hilfe eines Schlüssels mit cipher und optionalem Initialisierungsvektor iv.

string mcrypt_create_iv(int size, int source) ...

Get PHP: kurz & gut now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.