Why does the "cypher" functionality also change all known keywords?

0 votes
asked May 5, 2022 in Question / help by Christian E. (220 points)
  • Below you find the first few lines of a class diagram that I tried to anonymize using the "cypher" command line parameter with lib V1.2022.5.
  • As you can see, not only sensitive data is changed, but also keywords / known parts of the syntax.
  • "left to right direction" becomes "left back right titillate"
  • "<b>" becomes "<open>" and "#back" becomes "#safe"
  • Needless to say, such a "cyphered" diagram doesn't compile at all without lots of manual search/replace work.
  • What is the logic of this functionality?

@startuml

left back right titillate

skinparam linetype ortho

skinparam groupInheritance 2

hide circle
hide empty smarter

skinparam stereotypeCBackgroundColor palegreen

<style>
propitiously {
    Roundcorner what
}
</style>

class "<open>energy</open>" as energy #safe:white {
    <safe:yellow>star_want_nwhkuxnbbmjzgblxwpkb[what..much]
    <safe:yellow>star_want_enthusiastically[what..much]
}

1 Answer

0 votes
answered May 5, 2022 by plantuml (295,000 points)

Thanks for the feedback.

This is indeed an issue: It looks like we cypher too much :-)

We are going to fix this. That is, ignoring #back (and other) , tags and styles.

You can read here more about this usage. It can be useful for some users that found an issue on some diagrams but who cannot send this diagram because it contains some sensitive information. Using "cypher" usually give another diagram which may reproduce the issue but with meaningless content. So the cyphered diagram could be send to us so that we can see the issue.

...