deriveED25519 static method

List<int> deriveED25519(
  1. List<int> seed
)

Derives an ED25519 key from the given seed using the SHA-512 hash function.

This method takes a seed as input and applies the SHA-512 hash function to it to derive an ED25519 key. It returns the derived key as a list of integers.

Implementation

static List<int> deriveED25519(List<int> seed) {
  return QuickCrypto.sha512HashHalves(seed).item1;
}