WordPress at a glance
function is not described

ParagonIE_Sodium_Crypto32::box_beforenm() public WP 1.0

Used by crypto_box() to get the crypto_secretbox() key.

{} It's a method of the class: ParagonIE_Sodium_Crypto32{}

No Hooks.

Return

String. Null. Nothing.

Usage

$result = ParagonIE_Sodium_Crypto32::box_beforenm( $sk, $pk );
$sk(string) (required)
-
$pk(string) (required)
-

Code of ParagonIE_Sodium_Crypto32::box_beforenm() WP 5.7

<?php
public static function box_beforenm($sk, $pk)
{
    return ParagonIE_Sodium_Core32_HSalsa20::hsalsa20(
        str_repeat("\x00", 16),
        self::scalarmult($sk, $pk)
    );
}