ParagonIE_Sodium_File::verify

SummerySummery

Verify a file (rather than a string). Uses less memory than ParagonIE_Sodium_Compat::crypto_sign_verify_detached(), but produces the same result.

Syntax

ParagonIE_Sodium_File::verify( string $sig, string $filePath, string $publicKey )

ParametersParameters

$sig

(string) (Required) Ed25519 signature

$filePath

(string) (Required) Absolute path to a file on the filesystem

$publicKey

(string) (Required) Signing public key

ReturnReturn

(bool)

SourceSource

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


			
Scroll to Top