WordPress at a glance
function is not described

Sodium

randombytes_buf() WP 1.0

No Hooks.

Return

String. Null. Nothing.

Usage

randombytes_buf( $amount );
$amount(int) (required)
-

Notes

  • See: ParagonIE_Sodium_Compat::randombytes_buf()

Code of randombytes_buf() WP 5.7.1

<?php
function randombytes_buf($amount)
{
    return ParagonIE_Sodium_Compat::randombytes_buf($amount);
}