GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Aral Balkan (aral@mastodon.ar.al)'s status on Saturday, 14-Sep-2024 22:14:09 JST Aral Balkan Aral Balkan

    Was just documenting the KittenMoji standard I use to Base256 encode your ed25519 secret key in Kitten.

    The full alphabet:

    🐵🐒🦍🦧🐶🐕🦮🐩🐺🦊🦝🐱🐈🦁🐯🐅
    🐆🐴🧮🦄🦓🦌🦬🐮🐂🐃🐄🐷🐖🐗🐽🐏
    🐑🐐🐪🐫🦙🦒🐘🦣🦏🦛🐭🐁🐀🐹🐰🐇
    🎈🦫🦔🦇🐻🐨🐼🦥🦦🦨🦘🦡🐾🦃🎹🐓
    🐣🐤🐥🐦🐧💕🦅🦆🦢🦉🦤🪶🦩🦚🦜🚲
    🐊🐢🦎📚🐉🦕🦖🐳🐋🐬🦭🐟🐠🐡🦈🐙
    🐚🐌🦋🐛🐜🐝🪲🐞🦗🎭🎁🧬🪱🦠💐🌸
    🎠🌈🌹🧣🌺🌻🌼🌷🌱🪴🌲🌳🌴🌵🌾🌿
    🎤🍀🍁🪺👽🍇🍈🍉🍊🍋🍌🍍🥭🍎🍏🍐
    🍑🍒🍓🫐🥝🍅🫒🥥🥑🍆🥔🥕🌽🧸🫑🥒
    🥬🥦🧄🧅🍄🥜🌰🍞🥐🥖💩🥨🥯🥞🧇🧀
    🎶🏸🎾🎨🍔🔭🍕🌭🥪🌮🌯😸📷🌜🥚🚂
    🛼🚁👾👻🥗🍿🧩🖖🥫🎸🍘🍙🍚🃏🍜🍝
    🍠🍢🍣🍤🍥🥮🍡🥟🥠🩰🦀🦞🦐🦑🎡🍦
    🍧🍨🍩🍪🎂🍰🧁🥧🍫🍬🍭🍮🎓🍼🎮🛹
    🫖🌍🌎🌏🧭🌠🪐🪀🧵🧶🧋🎉🪁🙈🙉🙊

    Maybe I’ll make a limited-edition poster of it sometime :)

    https://kitten.small-web.org

    #Kitten #SmallWeb

    In conversation about 9 months ago from mastodon.ar.al permalink

    Attachments


    • Embed this notice
      your auntifa liza 🇵🇷 🦛 🦦 (blogdiva@mastodon.social)'s status on Sunday, 15-Sep-2024 00:35:46 JST your auntifa liza 🇵🇷  🦛 🦦 your auntifa liza 🇵🇷 🦛 🦦
      in reply to

      @aral you encode secret keys with emojis? is that allowed‽‽‽

      In conversation about 9 months ago permalink
    • Embed this notice
      Aral Balkan (aral@mastodon.ar.al)'s status on Sunday, 15-Sep-2024 00:35:46 JST Aral Balkan Aral Balkan
      in reply to
      • your auntifa liza 🇵🇷 🦛 🦦

      @blogdiva Last I checked, I didn’t have to ask anyone for permission ;)

      In conversation about 9 months ago permalink
    • Embed this notice
      Aral Balkan (aral@mastodon.ar.al)'s status on Sunday, 15-Sep-2024 00:37:59 JST Aral Balkan Aral Balkan
      in reply to
      • jalict

      @jalict Why not? :)

      The design decision behind it is so folks can’t write it down on a post-it or something and have to keep it in their password manager (or find out what a password manager is and get one, if they don’t already know).

      Also, fun :)

      :kitten: 💕

      In conversation about 9 months ago permalink
    • Embed this notice
      jalict (jalict@mastodon.gamedev.place)'s status on Sunday, 15-Sep-2024 00:38:01 JST jalict jalict
      in reply to

      @aral Never really thought about encoding stuff in Emojis. What a fun idea :)

      Now I wanna do savegames, or user-generated content for games in emojis haha.

      How about QR code, but emojis.

      In conversation about 9 months ago permalink
    • Embed this notice
      Aral Balkan (aral@mastodon.ar.al)'s status on Sunday, 15-Sep-2024 00:48:55 JST Aral Balkan Aral Balkan
      in reply to
      • Charles U. Farley
      • your auntifa liza 🇵🇷 🦛 🦦

      @freakazoid @blogdiva Good point (no pun intended)… I hadn’t even considered that (I hope folks don’t share their secret keys via social media) 😬

      In conversation about 9 months ago permalink
    • Embed this notice
      Charles U. Farley (freakazoid@retro.social)'s status on Sunday, 15-Sep-2024 00:48:56 JST Charles U. Farley Charles U. Farley
      in reply to
      • your auntifa liza 🇵🇷 🦛 🦦

      @aral @blogdiva Encoding as emoji is funny, because the UTF8 ends up being 4x as many bytes as the original key, so 128 in this case, but because social media limits the number of characters and not the number of UTF8 bytes, it uses only 32 bytes of your character limit, less than hex or base64 would even though both of those would use less space in the database, in RAM, and on the wire.

      In conversation about 9 months ago permalink
    • Embed this notice
      Aral Balkan (aral@mastodon.ar.al)'s status on Sunday, 15-Sep-2024 00:49:48 JST Aral Balkan Aral Balkan
      in reply to
      • jalict

      @jalict Ah, haha, nice :)

      In conversation about 9 months ago permalink
    • Embed this notice
      jalict (jalict@mastodon.gamedev.place)'s status on Sunday, 15-Sep-2024 00:49:49 JST jalict jalict
      in reply to

      @aral
      Have this clean refresh video of the Emojis loading!

      In conversation about 9 months ago permalink

      Attachments


    • Embed this notice
      Aral Balkan (aral@mastodon.ar.al)'s status on Sunday, 15-Sep-2024 00:58:28 JST Aral Balkan Aral Balkan
      in reply to
      • Charles U. Farley
      • your auntifa liza 🇵🇷 🦛 🦦

      @freakazoid @blogdiva Ooh… Base3184, how delightfully evil :)

      The only problem I see is byte count. I’m using only surrogate pairs. Afaik, there are less than 2,000 of those. So the codepoint size differences might be an issue.

      In conversation about 9 months ago permalink
    • Embed this notice
      Charles U. Farley (freakazoid@retro.social)'s status on Sunday, 15-Sep-2024 00:58:29 JST Charles U. Farley Charles U. Farley
      in reply to
      • your auntifa liza 🇵🇷 🦛 🦦

      @aral @blogdiva Hmm. If we assume bigint math is available, we could use 3184 of the emoji and encode your public key with only 22 emoji :D

      In conversation about 9 months ago permalink
    • Embed this notice
      Aral Balkan (aral@mastodon.ar.al)'s status on Sunday, 15-Sep-2024 01:43:52 JST Aral Balkan Aral Balkan
      in reply to
      • Charles U. Farley
      • your auntifa liza 🇵🇷 🦛 🦦

      @freakazoid @blogdiva You remembered correctly: There are 3,790 in total in Unicode 16 (https://www.unicode.org/emoji/charts/emoji-counts.html) but that’s with modifiers.

      In conversation about 9 months ago permalink

      Attachments


    • Embed this notice
      Charles U. Farley (freakazoid@retro.social)'s status on Sunday, 15-Sep-2024 01:43:53 JST Charles U. Farley Charles U. Farley
      in reply to
      • your auntifa liza 🇵🇷 🦛 🦦

      @aral @blogdiva Damn, only 2321 in total even including those that require multiple code points. I don't even remember why I thought there were more than that.

      Base 921 encodes 256 bits in 26 emojis...

      In conversation about 9 months ago permalink
    • Embed this notice
      Charles U. Farley (freakazoid@retro.social)'s status on Sunday, 15-Sep-2024 01:43:54 JST Charles U. Farley Charles U. Farley
      in reply to
      • your auntifa liza 🇵🇷 🦛 🦦

      @aral @blogdiva Hah, I'd missed that you said secret key. I seem to recall that was the original idea behind emoji-based codes, though they also look cool.

      I ran a script over https://unicode.org/Public/emoji/16.0/emoji-sequences.txt and only got 1185 that don't require 2 codepoints, so you're right. I did test with one codepoint sequence and confirmed it only uses a single character of my Mastodon character limit, so I may still publish an implementation just for fun.

      In conversation about 9 months ago permalink

      Attachments


      1. Invalid filename.
    • Embed this notice
      bumblefudge (by_caballero@mastodon.social)'s status on Sunday, 15-Sep-2024 18:17:38 JST bumblefudge bumblefudge
      in reply to

      @aral is this based on the emoji multibase or a different alphabet/algo? I've seen a few diff emoji bases over the years

      In conversation about 9 months ago permalink
    • Embed this notice
      Aral Balkan (aral@mastodon.ar.al)'s status on Sunday, 15-Sep-2024 18:17:38 JST Aral Balkan Aral Balkan
      in reply to
      • bumblefudge

      @by_caballero Hadn’t heard of multibase (just looked it up, nice idea). This is just a basic map optimised for encoding/decoding ed25519 secret keys with a one-to-one mapping of bytes to emoji.

      https://codeberg.org/kitten/app/src/branch/main/src/lib/KittenMoji.js

      In conversation about 9 months ago permalink
    • Embed this notice
      erinaceus (erinaceus@fosstodon.org)'s status on Tuesday, 17-Sep-2024 04:06:22 JST erinaceus erinaceus
      in reply to

      @aral I saw this and felt the need to write a rust crate for encoding/decoding KittenMoji: https://crates.io/crates/kittenmoji

      That was a nice way to tune out all the stuff that is happening in the world right now. Also a nice way to get to know how to publish crates (with a crate that probably no one will use so it does not matter that much when I make mistakes :) )

      In conversation about 9 months ago permalink

      Attachments


    • Embed this notice
      Aral Balkan (aral@mastodon.ar.al)'s status on Tuesday, 17-Sep-2024 04:06:22 JST Aral Balkan Aral Balkan
      in reply to
      • erinaceus

      @erinaceus Haha, nice :)

      :kitten: 💕

      In conversation about 9 months ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.