cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

MATHCAD AND CRYPTOGRAPHY

Highlighted
Emerald V

MATHCAD AND CRYPTOGRAPHY

Do you have more optimal (shorter) progtam for a task from this story http://en.wikipedia.org/wiki/The_Gold-Bug ?

See please too http://communities.ptc.com/docs/DOC-4736

Do you know others some stories for Mathcad?

Golden-Bug-Eng.png

4 REPLIES 4
Highlighted

Re: MATHCAD AND CRYPTOGRAPHY

You may use "match" and "on error" but it sure will not be good enough for educational purposes then.

Your routine returns a wrong result for strings just one character long - a tough problem for cryptographic character frequency methods .

You may also consider turning the routine into a function and making it ORIGIN-aware.

Maybe also adding a custom error message if the argument is the nullstring.

Highlighted

Re: MATHCAD AND CRYPTOGRAPHY

Werner Exinger wrote:

Sorry, my zero knowledge of Russian language prevents me from commenting on your article.
Here http://communities.ptc.com/message/228806 for example

One foreign language is one method of CRYPTOGRAPHY!

Highlighted

Re: MATHCAD AND CRYPTOGRAPHY

Valery Ochkov wrote:

One foreign language is one method of CRYPTOGRAPHY!

So we are happily awaiting your language translation routine in Mathcad 😉

Highlighted

Re: MATHCAD AND CRYPTOGRAPHY

Werner Exinger wrote:

You may use "match" and "on error" but it sure will not be good enough for educational purposes then.

Your routine returns a wrong result for strings just one character long - a tough problem for cryptographic character frequency methods .

You may also consider turning the routine into a function and making it ORIGIN-aware.

Maybe also adding a custom error message if the argument is the nullstring.

It will be good to see sheets!

Announcements