Ed25519MathPlatform
scalus.crypto.ed25519.Ed25519MathPlatform
object Ed25519MathPlatform
JVM implementation of Ed25519 mathematical operations using BouncyCastle.
WARNING: This implementation uses reflection to access BouncyCastle's internal scalarMultBaseEncoded method because the public API only exposes key derivation that hashes the seed first (standard Ed25519), whereas BIP32-Ed25519 requires direct scalar multiplication with an already-clamped scalar.
This approach is fragile and may break with future BouncyCastle updates. If BouncyCastle exposes a public scalar multiplication API in the future, this should be updated to use it instead.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Ed25519MathPlatform.type
Members list
In this article