public static function ParagonIE_Sodium_Core_Ed25519::sk_to_pk in Automatic Updates 7
Same name and namespace in other branches
- 8 vendor/paragonie/sodium_compat/src/Core/Ed25519.php \ParagonIE_Sodium_Core_Ed25519::sk_to_pk()
@internal You should not use this directly from another application
Parameters
string $sk:
Return value
string
Throws
SodiumException
TypeError
1 call to ParagonIE_Sodium_Core_Ed25519::sk_to_pk()
- ParagonIE_Sodium_Core_Ed25519::publickey_from_secretkey in vendor/
paragonie/ sodium_compat/ src/ Core/ Ed25519.php - @internal You should not use this directly from another application
File
- vendor/
paragonie/ sodium_compat/ src/ Core/ Ed25519.php, line 152
Class
- ParagonIE_Sodium_Core_Ed25519
- Class ParagonIE_Sodium_Core_Ed25519
Code
public static function sk_to_pk($sk) {
return self::ge_p3_tobytes(self::ge_scalarmult_base(self::substr($sk, 0, 32)));
}