Skip to content

Commit

Permalink
Apply simplification to multibase canonical mapping via @iherman.
Browse files Browse the repository at this point in the history
  • Loading branch information
msporny committed Aug 31, 2023
1 parent 1d6b3ec commit 716f2a5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2201,10 +2201,12 @@ <h4 id="cryptosuiteString">The `cryptosuiteString` Datatype</h3>
<h4 id="multibase">The `multibase` Datatype</h3>

<p>
[[?MULTIBASE]]-encoded strings are used to encode binary data into ASCII-only format, useful in environments that cannot directly represent binary values. This specification makes use of this encoding. In environments that support data types
for string values, such as RDF [[?RDF-CONCEPTS]], [[?MULTIBASE]]-encoded
content is indicated using a literal value whose datatype is set to
`https://w3id.org/security#multibase`.
[[?MULTIBASE]]-encoded strings are used to encode binary data into ASCII-only
formats, which are useful in environments that cannot directly represent binary
values. This specification makes use of this encoding. In environments that
support data types for string values, such as RDF [[?RDF-CONCEPTS]],
[[?MULTIBASE]]-encoded content is indicated using a literal value whose datatype
is set to `https://w3id.org/security#multibase`.
</p>

<p>
Expand Down Expand Up @@ -2234,9 +2236,7 @@ <h4 id="multibase">The `multibase` Datatype</h3>
</dd>
<dt>The canonical mapping</dt>
<dd>
Any element of the value space is mapped to the lexical space by expressing
the desired base-encoding [[?MULTIBASE]] character first, and then base-encoding
the value according to the desired base-encoding alphabet.
The canonical mapping consists of using the lexical-to-value mapping.
</dd>
</dl>
</section>
Expand Down

0 comments on commit 716f2a5

Please sign in to comment.