<oembed><type>rich</type><version>1.0</version><title>wono wrote</title><author_name>wono (npub1d7…54jw9)</author_name><author_url>https://nostr.now/npub1d7zfm3ec0axunyd0ydsttjlxr60ujcts5zt054murwgh0jjcst6sl54jw9</author_url><provider_name>njump</provider_name><provider_url>https://nostr.now</provider_url><html>/run py&#xA;&#xA;def encode_secret_emoji(emoji: str, text: str) -&gt; str:&#xA;    &#34;&#34;&#34;Encode text to Secret Emoji&#34;&#34;&#34;&#xA;    VS_START      = 0xfe00  &#xA;    VS_SUPP_START = 0xe0100 &#xA;  &#xA;    utf8_bytes = text.encode(&#39;utf-8&#39;)&#xA;    result = []&#xA;&#xA;    for byte in utf8_bytes:&#xA;       &#xA;        if byte &lt;= 15:&#xA;            cp = VS_START + byte           &#xA;        else:&#xA;            cp = VS_SUPP_START + byte - 16  &#xA;        result.append(chr(cp))&#xA;&#xA;    return emoji + &#39;&#39;.join(result)&#xA;&#xA;&#xA;def decode_secret_emoji(text: str) -&gt; str:&#xA;    &#34;&#34;&#34;Decode Secret Emoji to text&#34;&#34;&#34;&#xA;    VS_START,      VS_END      = 0xfe00,   0xfe0f &#xA;    VS_SUPP_START, VS_SUPP_END = 0xe0100,  0xe01ef   &#xA;&#xA;    decoded = []&#xA;    i = 0&#xA;&#xA;    while i &lt; len(text):&#xA;        cp = ord(text[i])&#xA;&#xA;        if 0xD800 &lt;= cp &lt;= 0xDBFF and i + 1 &lt; len(text):&#xA;            low = ord(text[i + 1])&#xA;            if 0xDC00 &lt;= low &lt;= 0xDFFF:&#xA;                cp = 0x10000 + ((cp - 0xD800) &lt;&lt; 10) + (low - 0xDC00)&#xA;                i += 2&#xA;            else:&#xA;                i += 1&#xA;                continue&#xA;        else:&#xA;            i += 1&#xA;&#xA;        if VS_START &lt;= cp &lt;= VS_END:&#xA;            decoded.append(cp - VS_START)          &#xA;        elif VS_SUPP_START &lt;= cp &lt;= VS_SUPP_END:&#xA;            decoded.append(cp - VS_SUPP_START + 16) &#xA;    return bytes(decoded).decode(&#39;utf-8&#39;, errors=&#39;replace&#39;)&#xA;&#xA;print(decode_secret_emoji(&#34;🥟󠇓󠅱󠅺󠇓󠅱󠆓󠇓󠅱󠆡󠇓󠅱󠅴&#34;))</html></oembed>