crypto.Ed25519.KeyPair: return an error rather than assert
When runtime safety is turned on, `Ed25519.fromSecretKey()` can
currently hit an assertion if the format of the secret key is
invalid.
Return an error instead, so that applications can recover.
65e7ede499Frank Denis committed on 2/21/2025, 9:45:38 PM· committed by Alex Rønne Petersenparent05d8b56