πŸ“Š PHP
Q. Which PHP function generates a random string of bytes?
  • (A) rand_bytes()
  • (B) random_bytes()
  • (C) bytes_random()
  • (D) secure_bytes()
πŸ’¬ Discuss
βœ… Correct Answer: (B) random_bytes()

Explanation: random_bytes() generates cryptographically secure bytes.

Explanation by: Kanak Sharma
random_bytes() generates cryptographically secure bytes.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
1
Total Visits
πŸ“½οΈ
3 h ago
Published
πŸŽ–οΈ
Kanak Sharma
Publisher
πŸ“ˆ
95%
Success Rate