ParagonIE_Sodium_Crypto32::box_keypair_from_secretkey_and_publickey

Advertisement

Syntax Syntax

ParagonIE_Sodium_Crypto32::box_keypair_from_secretkey_and_publickey( string $sKey, string $pKey )

Parameters Parameters

$sKey

(Required)

$pKey

(Required)

Return Return

(string)

Source Source

File: wp-includes/sodium_compat/src/Crypto32.php

    public static function box_keypair_from_secretkey_and_publickey($sKey, $pKey)
    {
        return ParagonIE_Sodium_Core32_Util::substr($sKey, 0, 32) .
            ParagonIE_Sodium_Core32_Util::substr($pKey, 0, 32);
    }

Advertisement

Advertisement

Leave a Reply