Re: Encrypting long text

2021-12-16 Thread Monte Goulding via use-livecode
I have opened this issue to correct the documentation. Autocomplete parses the syntax definitions in the docs to create a list of possible command variations. https://quality.livecode.com/show_bug.cgi?id=23489 > On 17 Dec 2021, at 6:08 am, Sean Cole via use-livecode > wrote: > > Hi Mark > >

Re: Encrypting long text

2021-12-16 Thread Sean Cole via use-livecode
Hi Mark So it must be the auto-completes that have the wrong possible values added to its list. Type 'encrypt' into the script editor and go to the bottom, then right and there are every possible iteration based on the syntax given in the dictionary. This does not match up with your description

Re: Encrypting long text

2021-12-16 Thread Mark Waddingham via use-livecode
On 2021-12-16 17:09, Sean Cole via use-livecode wrote: Thanks Mark, New problem. Trying to use aes-256-ctr instead. I'm following the syntax in the dictionary but it throws a red cross on it: encrypt tData using "aes-256-ctr" with key tMyKey and salt tMySalt I think you can either specify

Re: Encrypting long text

2021-12-16 Thread Sean Cole via use-livecode
Thanks Mark, New problem. Trying to use aes-256-ctr instead. I'm following the syntax in the dictionary but it throws a red cross on it: encrypt tData using "aes-256-ctr" with key tMyKey and salt tMySalt What is wrong with this syntax that the auto language detector shows it as a mistake? Sean

Re: Encrypting long text

2021-12-16 Thread Mark Waddingham via use-livecode
On 2021-12-16 16:23, Sean Cole via use-livecode wrote: Hi all, I'm trying to use RSA to encrypt data from a text field like an address or notes. When I try to use the encrypt command I get a result 'message too long'. What is the method for encrypting long or large data? My current line of

Encrypting long text

2021-12-16 Thread Sean Cole via use-livecode
Hi all, I'm trying to use RSA to encrypt data from a text field like an address or notes. When I try to use the encrypt command I get a result 'message too long'. What is the method for encrypting long or large data? My current line of code: encrypt tData using rsa with public key