Visualizzazione dei risultati da 1 a 6 su 6
  1. #1

    [SQL] Problemi con la funzione mcrypt

    Sto pasticciando un po' con la funzione mcrypt, peccato che non fa nulla!
    Questo è il mio codice:
    codice:
    <?php
    echo "Encript";
    $stringa = "Una semplice stringa di testo";
    $chiave = "La mia chiave";
    $encrypted = mcrypt_cfb(MCRYPT_IDEA, $chiave, $stringa, MCRYPT_ENCRYPT);
    echo $encrypted;
    echo "Decript";
    $stringa2 = mcrypt_cfb(MCRYPT_IDEA, $chiave, $encrypted, MCRYPT_DECRYPT); 
    echo $stringa2;
    ?>
    Ma l'output è solo "EncriptDecript"
    Nient'altro.
    Sbaglio io?

  2. #2
    leggi qua

    http://it.php.net/mcrypt_cfb

    e capirai il xche ^^
    The fastest Redis alternative ... cachegrand! https://github.com/danielealbano/cachegrand

  3. #3
    Ah....


    Non ho capito

  4. #4
    quelle funzioni sono "morte" se leggevi bene il testo della pagina lo avresti letto ^^

    c'è anche scritto cosa usare al posto di quelle funzioni
    The fastest Redis alternative ... cachegrand! https://github.com/danielealbano/cachegrand

  5. #5
    Ups...
    Sarà che io e l'inglese non siamo proprio amici!
    Grazie!

  6. #6
    siamo in due
    The fastest Redis alternative ... cachegrand! https://github.com/danielealbano/cachegrand

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.