SecureBlackbox 2020 PHP Edition

Questions / Feedback?

Generate Method

Generates a new crypto key.

Object Oriented Interface

public function doGenerate($keyalgorithm, $scheme, $schemeparams, $keybits);

Procedural Interface

secureblackbox_cryptokeymanager_do_generate($res, $keyalgorithm, $scheme, $schemeparams, $keybits);


Call this method to generate a new key or keypair with the desired KeyAlgorithmand KeyBits of length.

The generated key will be populated in the Key property.

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