@textile/hub > PrivateKey > fromRawEd25519Seed
PrivateKey.fromRawEd25519Seed() method
Creates a new PrivateKey from ed25519 secret key seed raw bytes.
Signature:
static fromRawEd25519Seed(rawSeed: Uint8Array): PrivateKey;
Parameters
Parameter | Type | Description |
---|---|---|
rawSeed | Uint8Array | Raw 32-byte ed25519 secret key seed. |
Returns: