68kMLA Classic Interface
This is a version of the 68kMLA forums for viewing on your favorite old mac. Visitors on modern platforms may prefer the main site.
| Click here to select a new forum. | | Simple encryption | Posted by: beachycove on 2007-07-12 17:53:04 Is there a piece of software that will change a simple string of letters (abcd, say, or acbd) to a simple string of numbers (which would then be, say, 1234, or 1324, based on something as basic as the place of the letters in the order of the alphabet)?
Even better, does anyone know of a way to do this directly in Filemaker 3 or 4? Or some OS7-9 Applescript, perchance, that I can run from within Filemaker?
I am sure this sort of kiddie-type 'encryption' must be catered for by some little script or other, but I have searched high and low and found nothing. I need it for a cataloguing system I am devising for use on 68k hardware and running on Filemaker Pro 4.1.
Go on, help me out - and give a machine a worthy retirement!
| Posted by: tomlee59 on 2007-07-12 19:39:41 If you're just looking for a straightforward substitution cipher, let me know what you'd like it to do.
| Posted by: beachycove on 2007-07-13 05:28:41 I think I just figured it out - the substitute function in FMP should do it: substitute(textfield, "A",1) etc. etc. through the alphabet. Encryption is too high a word for what I needed, but that should do the trick.
Thanks for the offer all the same.
| Posted by: tomlee59 on 2007-07-13 15:15:30 Glad that FMP happened to have what you needed!
| | 1 |
|