ParagonIE_Sodium_Compat::library_version_minor

Advertisement

Summery Summery

The equivalent to the libsodium minor version we aim to be compatible with (sans pwhash and memzero).

Syntax Syntax

ParagonIE_Sodium_Compat::library_version_minor()

Return Return

(int)

Source Source

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

    public static function library_version_minor()
    {
        if (self::useNewSodiumAPI()) {
            return sodium_library_version_minor();
        }
        if (self::use_fallback('library_version_minor')) {
            return (int) call_user_func('\\Sodium\\library_version_minor');
        }
        return self::LIBRARY_VERSION_MINOR;
    }

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.