Seed
in package
Com\Tecnick\Pdf\Encrypt\Type\Seed
generate random seed
Tags
Table of Contents
Methods
- encrypt() : string
- Encrypt the data
Methods
encrypt()
Encrypt the data
public encrypt([string $data
= ''
][,
string $key
= ''
][,
string $mode
= 'openssl'
]) : string
Parameters
- $data : string = ''
-
Random seed data
- $key : string = ''
-
Random seed data
- $mode : string = 'openssl'
-
Default mode (openssl or raw)
Return values
string —seed