Jump to content

Is there any program that can convert letters to numbers and/or words into sums thereof?

Featured Replies

So I found this on Reddit, and naturally, find it tedious to try to work out by hand or by calculator various parodical examples like the kinds presently being output by the comments section. I was wondering if anyone here is familiar with any computer program that would allow you to type in a letter-to-number legend, then type in a word and have it output the sum associated with it. Thank you in advance!

23 minutes ago, ScienceNostalgia101 said:

So I found this on Reddit, and naturally, find it tedious to try to work out by hand or by calculator various parodical examples like the kinds presently being output by the comments section. I was wondering if anyone here is familiar with any computer program that would allow you to type in a letter-to-number legend, then type in a word and have it output the sum associated with it. Thank you in advance!

I don't know of such a program, but do you use Excel?

Seems straightforward to write a program yourself to do this. Do you have any experience with coding?

  • Author
3 hours ago, Genady said:

Cool! Thanks!

 

As for programming, it's been years since I've done any, and though I'm familiar with do loops and if statements I don't recall how to convert letters and numbers back and forth to each other. I just had a feeling from what I recalled of computer science in college that something like this was doable.

 

Thanks again!

4 hours ago, ScienceNostalgia101 said:

Is there any program that can convert letters to numbers and/or words into sums thereof?

If it is not for numerology, but to check integrity (e.g. if somebody altered content) why not to use hash?

On Windows there is built-in certutil command which can calculate MD5, SHA1, SHA256 hash-functions.

https://www.google.com/search?q=certutil+hashfile

https://en.wikipedia.org/wiki/SHA-2

If you calculate hash-function of some word, sentence, file or entire disk, you can be pretty sure to 99.99% when you see the same hash, it's the same object.

 

echo "string" | sha256sum on Linux will give you hash of string, instead of a file.

 

Hackers/programmers/people use it to check if someone has broken into their computers by running it in Linux on all storage:

https://www.google.com/search?q=md5sum+linux

https://www.google.com/search?q=md5sum+linux+entire+directory

If you want to know if someone has changed the MBR of your Linux system you are using e.g.

dd if=/dev/sda iflag=direct bs=512 count=1 2>/dev/null | sha256sum

To verify the entire first partition of the first disk:

dd if=/dev/sda0 iflag=direct bs=16M 2>/dev/null | sha256sum

 

 

4 hours ago, ScienceNostalgia101 said:

Is there any program that can convert letters to numbers and/or words into sums thereof?

If it is so simple algorithm as you wrote, you will get the same sum after letters are replaced.. "abc" will give the same as "cab"..

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.