Home
Perl
Array
CGI
Class
Data Type
Database
File
GUI
Hash
Language Basics
Network
Regular Expression
Report
Statement
String
Subroutine
System Functions
Win32
XML
crypt a string : crypt « String « Perl
Perl
String
crypt
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