We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

Method for generating key for \Phalcon\Crypt

Suggest method which you using for generating key ?

For example using \Phalcon\Security\Random (and how exactly)

What do you mean? The cipher? Or the Hash algorithm?

I mean $key for $crypt->encrypt($text, $key);

from here https://docs.phalcon.io/en/3.4/crypt#basic-usage