Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 33 lines (26 sloc) 0.809 kb
d458e36 @docelic - Documented few filters
docelic authored
1 __NAME__ purpose
2 run Unix crypt() function on input data
3 __END__
4
5 __NAME__ description
6 The filter calls &PERL; <function>crypt</function> function
7 to encrypt input data.
8 __END__
9
10 __NAME__ see also
11 crypt
12 __END__
13
14
15 __NAME__ online: Filter example with random salt
16 The encrypted string should be different each time you run the code
17 because the salt is random.
18 <programlisting>
19 Encrypted string <literal>TEST</literal> with random salt is:
20 [filter crypt]TEST[/filter].
21 </programlisting>
22 __END__
23
24 __NAME__ online: Filter example with hand-specified salt
25 The encrypted string should be the same each time you run the code
26 because the salt does not change.
27 <programlisting>
7e69fd7 @docelic * Larger commit moving us towards "online docs"
docelic authored
28 Encrypted string <literal>TEST</literal> with salt of <literal>AB</literal> is:
d458e36 @docelic - Documented few filters
docelic authored
29 [filter crypt.AB]TEST[/filter].
30 </programlisting>
31 __END__
32
Something went wrong with that request. Please try again.