I would like to break all a-zA-Z so that such a world
be a hello comb or Bhidf
The rest should remain the same. like. "Hello world!" = "KSGI Fish!" Etc.
etc.
It is not clear that it is intended to be reversible, so here are two alternative answers Are there.
Being "hello" "sycudes" means a scheme that goes beyond simple asynchronous (A) and possibly a polyethabacteric cipher
but a simple caesar cipher You can use
$ plain = "hello"; $ Cipher = strut ($ plain, "ABCDGGLMNAPCrustWwoxs", "Twivek's Sieksfeldfasnompub"); Echo $ cipher;
function random_char ($ matches) {return chr (rand) (Ord ('a'), ord ('z'))); } $ Plain = "Hello"; $ Random = preg_replace_callback ("{[a-z]} i", "random_char", $ plain); Echo $ Random;
Here we change the alphabet by random_char callback with random option.
Comments
Post a Comment