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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

MATHCAD AND CRYPTOGRAPHY

ValeryOchkov
24-Ruby IV

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

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.

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!

Valery Ochkov wrote:

One foreign language is one method of CRYPTOGRAPHY!

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

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!

Top Tags