Jump to content

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


Recommended Posts

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!

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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"..

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

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.