public static function ParagonIE_Sodium_Crypto32::sign_open in Automatic Updates 7
Same name and namespace in other branches
- 8 vendor/paragonie/sodium_compat/src/Crypto32.php \ParagonIE_Sodium_Crypto32::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_Crypto32::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/ Crypto32.php, line 1633
Class
- ParagonIE_Sodium_Crypto32
- Class ParagonIE_Sodium_Crypto
Code
public static function sign_open($signedMessage, $pk) {
return ParagonIE_Sodium_Core32_Ed25519::sign_open($signedMessage, $pk);
}