IPWorks Encrypt 2020 PHP Edition

Questions / Feedback?

Key Property

The secret key for the symmetric algorithm.

Object Oriented Interface

public function getKey();
public function setKey($value);

Procedural Interface

ipworksencrypt_chacha_get($res, 6 );
ipworksencrypt_chacha_set($res, 6, $value );

Default Value

''

Remarks

This secret key is used both for encryption and decryption. The secret key should be known only to the sender and the receiver. This key must be 256 bits in length (32 bytes).

If this property is left empty and KeyPassword is specified, a Key value will be generated by the class as necessary.

Data Type

Binary String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Encrypt 2020 PHP Edition - Version 20.0 [Build 8155]