public static function ParagonIE_Sodium_Core32_Ed25519::sk_to_pk in Automatic Updates 8
Same name and namespace in other branches
- 7 vendor/paragonie/sodium_compat/src/Core32/Ed25519.php \ParagonIE_Sodium_Core32_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_Core32_Ed25519::sk_to_pk()
- ParagonIE_Sodium_Core32_Ed25519::publickey_from_secretkey in vendor/
paragonie/ sodium_compat/ src/ Core32/ Ed25519.php - @internal You should not use this directly from another application
File
- vendor/
paragonie/ sodium_compat/ src/ Core32/ Ed25519.php, line 154
Class
- ParagonIE_Sodium_Core32_Ed25519
- Class ParagonIE_Sodium_Core32_Ed25519
Code
public static function sk_to_pk($sk) {
return self::ge_p3_tobytes(self::ge_scalarmult_base(self::substr($sk, 0, 32)));
}