Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #12508
| From | David Spencer <spencer@panix.com> |
|---|---|
| Newsgroups | comp.programming |
| Subject | Re: string encryption |
| Date | 2021-04-28 18:00 +0000 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <s6c7rm$jtk$1@reader1.panix.com> (permalink) |
| References | <1ba37dc7-803d-40ba-9e83-c4bd0b5f1394n@googlegroups.com> <s6c7ol$ejg$1@dont-email.me> |
David Brown <david.brown@hesbynett.no> writes: >On 28/04/2021 16:27, Malcolm McLean wrote: >> What's the best method for cheap and cheerful string encryption, >> which takes a plaintext string and a short string as a key, and >> returns a crypted string? The encrypted text must be a string, so >> the encryption must never create a nul character. It might also be >> best not to create ascii control characters, or non-ascii >> characters. >> >Any preferences for language? Some languages have such functions in >their standard libraries. Any need for standards or compatibility, or >is it just for your own use? >You could take your string as a list of bytes, step through it xor'ing >with the key string, then uuencode the result to get a string again. It >will be okay if you are only encrypting a few short strings with the >same key, and if there is no obvious known pattern in the strings to aid >cracking. Or he could do his own homework ... -- dhs spencer@panix.com
Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
string encryption Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2021-04-28 07:27 -0700
Re: string encryption Kristjan Robam <he12457@hotmail.com> - 2021-04-28 08:39 -0700
Re: string encryption David Brown <david.brown@hesbynett.no> - 2021-04-28 19:58 +0200
Re: string encryption David Spencer <spencer@panix.com> - 2021-04-28 18:00 +0000
Re: string encryption David Brown <david.brown@hesbynett.no> - 2021-04-28 20:47 +0200
Re: string encryption Kristjan Robam <rob999999999@yahoo.com> - 2021-04-29 02:26 -0700
Re: string encryption Kristjan Robam <ya12983@mail.com> - 2021-04-28 12:14 -0700
Re: string encryption Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2021-04-28 14:33 -0700
Re: string encryption Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2021-04-28 14:39 -0700
Re: string encryption "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2021-04-28 21:55 +0200
Re: string encryption Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2021-04-28 14:33 -0700
Re: string encryption "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2021-04-29 08:06 +0200
Re: string encryption David Brown <david.brown@hesbynett.no> - 2021-04-29 09:38 +0200
Re: string encryption "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2021-04-29 10:00 +0200
Re: string encryption Ben Bacarisse <ben.usenet@bsb.me.uk> - 2021-04-29 22:33 +0100
Re: string encryption David Brown <david.brown@hesbynett.no> - 2021-04-29 09:37 +0200
Re: string encryption Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2021-04-29 06:40 -0700
Re: string encryption David Brown <david.brown@hesbynett.no> - 2021-04-29 17:01 +0200
csiph-web