SecureBlackbox 2020 PHP Edition

Questions / Feedback?

DeriveKey Method

Generates a strong cryptographic key from a password.

Object Oriented Interface

public function doDeriveKey($keybits, $password, $salt);

Procedural Interface

secureblackbox_cryptokeymanager_do_derivekey($res, $keybits, $password, $salt);


Use this method to generate a cryptographically strong key of a needed length from a password.

This method uses a general-purpose PBKDF2 function with PRF1 and 2048 iterations.

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