I’ve made a little utility on Android that allows you to record audio > compress > encrypt > convert to base 64 and I am wondering if there are any ways to streamline sending the data over meshtastic or are there limits to the amount of characters you can send?

  • hereforawhile@lemmy.mlOP
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    7 months ago

    So, hex encoding of the aes cipher made it bigger. base 85 is slightly smaller than 64. The goal was to make it copy paste safe I think that’s the best option

    • edinbruh@feddit.it
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 months ago

      There is no way to make this work. As others told you, hex made it bigger, because hex is like equivalent to base16. Every digit in base64 is 6 bit, while in hex it’s 4 bit. Raw bytes would be equivalent to base256.

      You will not get a good result with this technology, it just can’t handle the bandwidth, and will make it worse for everyone else by consuming their shared bandwidth.

      Instead, try to look into midi and sound fonts, that might give you a more sustainable solution.

      • hereforawhile@lemmy.mlOP
        link
        fedilink
        arrow-up
        0
        ·
        7 months ago

        It definitely works. I tested a five second audio clip at 2kbs. It’s about 15 manual copy pastes at 200 character limit…but it works.

        This isn’t going to be used it’s a very manual process…but I’m glad I can do it!