public static function ParagonIE_Sodium_Crypto::sign_open in Automatic Updates 8
Same name and namespace in other branches
- 7 vendor/paragonie/sodium_compat/src/Crypto.php \ParagonIE_Sodium_Crypto::sign_open()
Opens a signed message. If valid, returns the message.
@internal Do not use this directly. Use ParagonIE_Sodium_Compat.
Parameters
string $signedMessage:
string $pk:
Return value
string
Throws
SodiumException
TypeError
1 call to ParagonIE_Sodium_Crypto::sign_open()
- ParagonIE_Sodium_Compat::crypto_sign_open in vendor/
paragonie/ sodium_compat/ src/ Compat.php - Validates a signed message then returns the message.
File
- vendor/
paragonie/ sodium_compat/ src/ Crypto.php, line 1634
Class
- ParagonIE_Sodium_Crypto
- Class ParagonIE_Sodium_Crypto
Code
public static function sign_open($signedMessage, $pk) {
return ParagonIE_Sodium_Core_Ed25519::sign_open($signedMessage, $pk);
}