Replying to Avatar lemon

Your grandpa hid money under the mattress

Your kids will hide money in memes

https://memeamigo.lol/

- Memes encoded with Cashu tokens

- Hide secret messages and reveal them with nostr:nprofile1qqsgs42q9e59lkezt2qlz260tcmnzq22lhveekttw24py92m6yyeqxg78pcrj

- Upload your own local image to meme or add it to a Collection

- Easier resizing plus text highlights and box deletion

Happy meme-ing 🤙

https://m.primal.net/PVxx.mp4

Can you provide the decoder? I will add to Amethyst directly.

Reply to this note

Please Login to reply.

Discussion

Decoder should dm not note, bots too fast for ecash redeme

That’s a better idea, I’ll update it tonight to DM

Good call 🫡

I pushed an update to publish a DM instead of a Kind 1 note, but it’s still not working quite right

I see the DM response in Damus, but it doesn’t show in Primal

Not sure of the issue so I’ll have to keep working on it

nostr:npub1drvpzev3syqt0kjrls50050uzf25gehpz9vgdw08hvex7e0vgfeq0eseet, direct messages are no longer possible on the Nostr-sdk, right?

Only NIP17 private messages?

I prefer NIP17, but a lot of users still use Damus and Primal and they are behind in that regard unfortunately

You have to build manually the event:

```python

encrypted_content = nip04_encrypt(sk, pk, msg)

builder = EventBuilder(4, encrypted_content).tag(Tag.public_key(pk))

client.send_event_builder(builder)

```

Legend! 🔥

I will open source and tag you when I get back home

Here's the decoder in javascript:

https://github.com/happylemonprogramming/gifbuddy/blob/main/static/js/steganography.js

And also in python:

https://github.com/happylemonprogramming/stegosaurus/blob/main/lsbSteganography.py

This is the relevant function for you:

"decode_text_from_url"

Let me know how it goes or if you have any feedback! 🤙

Is there a way to easily identify if an image has one of this before running decode? Ideally, I want do run in every image and then show the decode button in those that have one.

It’ll only be PNG images for now (because other image types like jpeg compress the final image, which changes the pixels where the information is stored)

I don’t have another detection method other than attempting to decode currently, but I can try and think of something

Maybe we can add a prefix to every message such that just seeing 5-6 bytes are enough?

Or is this a common/standard way to encode from put there?