blenc_encrypt
Encrypt a PHP script with BLENC.
&reftitle.description;
stringblenc_encrypt
stringplaintext
stringencodedfile
stringencryption_key
Encrypt the plaintext content and write it into encodedfile
&reftitle.parameters;
plaintext
A source code to encrypt. Does not need to contain opening/closing PHP tags
encodedfile
The filename where BLENC will save the encoded source.
encryption_key
The key that BLENC will use to encrypt plaintext content. If not given
BLENC will create a valid key.
&reftitle.returnvalues;
BLENC will return the redistributable key that must be saved into key_file:
the path of key_file is specified at runtime with the option blenc.key_file
&reftitle.examples;
blenc_encrypt example
]]>