1

I'm currently working on an ethernet wrapper (c#) to communicate with some looms. The looms communication is managed via custom protocol.

The problem is that the data part(of ethernet wrapper) is encoded using the 64 base encoding protocol. The documentation says that the string "10/1/3" after the base64 encoding will results in "CgED".

Any idea on how is it possibile to get that "CgED" from "10/1/3"?

Because if i try to convert "10/1/3" the result is "MTAvMS8z".

MatteoCracco97
  • 426
  • 6
  • 17
  • Please review the "How to ask a question" thread. [ask] It would be nice with: what you have already tried, expected input, corresponding expected output, what kind of error message you might have received, and enough code to verify and validate your example. – Morten Bork Oct 22 '18 at 11:49
  • You can find it here: [ask]. – Enigmativity Oct 22 '18 at 11:50
  • 1
    @MortenBork - Just put `[ask]` in your comment to have the link automagically inserted when you hit enter. – Enigmativity Oct 22 '18 at 11:51
  • 1
    @Enigmativity Thanks for the tip. I will do so from now on ;) – Morten Bork Oct 22 '18 at 11:51
  • 1
    You are right, "CgED" is not the base64 encoding of "10/1/3". Don't know which protocol you are using. But either the docs are wrong or they messed up the implementation. – derpirscher Oct 22 '18 at 11:52

0 Answers0