Werner Koch wrote in
 <87lejvwnvc....@wheatstone.g10code.de>:
 |On Sat,  4 Mar 2023 18:33, Sebastian Andrzej Siewior said:
 |> In the base64 safe URL dictionary the characters '+' and '/' are
 |> replaced by '-' and '_'.
 |
 |FWIW, using '-' for general base64 encoding would be a bad idea because
 |it would allow to create those PGP or PEM armor lines ("-----BEGIN foo")
 |and thus break message parsing.

This is base64url as of RFC 4648 (+ -> -, / -> _).

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

Reply via email to