crypt a string : crypt « String « Perl






crypt a string

      

$text = "Hello";
$encrypted = crypt $text, "AB";
print $encrypted;

   
    
    
    
    
    
  








Related examples in the same category

1.The crypt function encrypts a string using the NBS Data Encryption Standard (DES) algorithm.
2.Use the crypt() operator to store passwords in an unbreakable format