P
P
Paul Official2022-03-10 13:16:38
.NET
Paul Official, 2022-03-10 13:16:38

How to get the UNICODE code of the string entered by the user (character by character), change it and display it?

The essence consists in "reversible enciphering" of the line entered by the user.
The characters of the encrypted text must be replaced by characters obtained from the original by shifting their ASCII code by a given value. Further, additional characters are placed between the characters of the message, chosen randomly or pseudo-randomly (I don’t understand how to implement this so that it is possible to decrypt the modified set of ASCII codes). All action takes place in the console.
If someone worked with strings, it will be easy. Thanks in advance for your replies.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question