Search found 6 matches

by markclark
Fri May 20, 2022 6:24 pm
Forum: Off-Topic
Topic: Encryption-Decryption AES-xxx-CBC
Replies: 3
Views: 2594

Re: Encryption-Decryption AES-xxx-CBC

When using LiveCode to encrypt and no IV, if you run into a python user who is unsure what to use, it's just null

iv = blksz * b'\0'

To handle padding when decrypting, let them know that something like this should work:

unpad_algo = lambda s: s[:-ord(s[len(s) - 1:])]
by markclark
Fri May 20, 2022 6:16 pm
Forum: Off-Topic
Topic: AES-XXX-GCM
Replies: 2
Views: 3715

AES-XXX-GCM

Just to put some notes in a searchable forum, I wanted to post some info on why AES-XXX-GCM does not seem to work with LiveCode. What I am seeing is that the encrypted bytes are the same as the plaintext bytes (plus a salted key). I am using CBC mode with HMACs for my work, but thought this post mig...
by markclark
Sun May 15, 2022 10:38 pm
Forum: Off-Topic
Topic: Encryption-Decryption AES-xxx-CBC
Replies: 3
Views: 2594

Re: Encryption-Decryption AES-xxx-CBC

Thanks for the response, Stam. Sure, this is all working for me, but my goal here is to explore a little farther than the docs and to also help enable users of LiveCode to have a place to look for thing like interop questions. For instance, using the LiveCode simple encryption example above (with pa...
by markclark
Fri May 13, 2022 10:49 pm
Forum: Off-Topic
Topic: Encryption-Decryption AES-xxx-CBC
Replies: 3
Views: 2594

Encryption-Decryption AES-xxx-CBC

Hello all, I was sending some messages to the use list but figured that this topic isn't of general interest. Sadly, crypto is one of the most often misrepresented topics on the internet, so google isn't always your friend. Hopefully we can avoid the typical camp replies of "it's dangerous! don't do...
by markclark
Thu Sep 15, 2016 8:22 pm
Forum: Internet
Topic: tsNet SMTP
Replies: 1
Views: 2803

Re: tsNet SMTP

as it turns out that was a silly question. i forgot that i could simply put the port assignment into the server address, lol.
by markclark
Thu Sep 15, 2016 2:16 pm
Forum: Internet
Topic: tsNet SMTP
Replies: 1
Views: 2803

tsNet SMTP

This is probably a stupid question, but does anyone know the proper method for changing the port assignment for tsnet smtp? Typically port 25 isn't used by hosting providers any longer--587 or 465, etc.

Go to advanced search