From 0653b9d031cf3dc638448712138527a0b1952ca1 Mon Sep 17 00:00:00 2001 From: Manu Sporny Date: Sun, 29 Sep 2024 20:58:56 -0400 Subject: [PATCH] Refer to controller document for Ed25519 key definition. --- index.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/index.html b/index.html index e43b74f..6791e4a 100644 --- a/index.html +++ b/index.html @@ -287,11 +287,10 @@

Multikey

The `publicKeyMultibase` value of the verification method MUST start with the base-58-btc prefix (`z`), as defined in the Multibase section of -[[[controller-document]]]. A Multibase-encoded Multikey value follows, which MUST -consist of a binary value that starts with the two-byte prefix `0xed01`, which -is the Multikey header for an Ed25519 public key, followed by the 32-byte public -key data, all of which is then encoded using base-58-btc. Any other encoding -MUST NOT be allowed. +[[[controller-document]]]. A Multibase-encoded Ed25519 256-bit public key value +follows, as defined in the +Multikey section of +[[[controller-document]]]. Any other encoding MUST NOT be allowed.

@@ -340,12 +339,13 @@

Multikey

-The `secretKeyMultibase` property represents a Multibase-encoded Multikey -expression of an Ed25519 secret key (sometimes also referred to as a private -key). The value starts with the two-byte prefix `0x8026`, -followed by the 32-byte Ed25519 secret key data. The combined -34-byte value is then base58-btc encoded and `z` is added as the prefix on the -encoded value. +The `secretKeyMultibase` value of the verification method MUST start with the +base-58-btc prefix (`z`), as defined in the +Multibase section of +[[[controller-document]]]. A Multibase-encoded Ed25519 256-bit secret key value +follows, as defined in the +Multikey section of +[[[controller-document]]]. Any other encoding MUST NOT be allowed.