πŸ“Š PHP
Q. Which PHP function generates a cryptographically secure random string?
  • (A) rand()
  • (B) mt_rand()
  • (C) openssl_random_pseudo_bytes()
  • (D) random_int()
πŸ’¬ Discuss
βœ… Correct Answer: (C) openssl_random_pseudo_bytes()

Explanation: openssl_random_pseudo_bytes() generates secure random bytes.

Explanation by: Mr. Dubey
openssl_random_pseudo_bytes() generates secure random bytes.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
26
Total Visits
πŸ“½οΈ
4 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
89%
Success Rate