
Algorithms Algorithms and Data Structures  Analysis, Graph, Search, String, Sorting, Merge, Compression, Optimization, Quantum 
 LinkBack  Thread Tools  Display Modes 
February 21st, 2014, 10:48 AM  #1 
Joined: Feb 2014 Posts: 2  Algorithm of information display
The alphabet  the list of the characters meeting in texts. Each character in the alphabet meets only once. The alphabet contains not only capital and lowercase letters, but characters of punctuation marks, a gap, characters of transfer of the carriage, characters of a new line, etc. Each character in the alphabet has the address which changes from 1  the character first at the left in the alphabet, to N  last at the left the character in the alphabet. Let's consider an example. Let we have two words: Putin, Medvedev. In these words there are following characters: P, u, t, i, n, M, e, d, v. This character set is called as own alphabet of words Putin and Medvedev. The task: to Find algorithm of display of a word Putin through a word Medvedev and algorithm of recovery of a word Putin from a word Medvedev. The decision: we Take the alphabet consisting of all characters of Russian and English language, punctuation marks, a gap. Only 190 characters, i.e. N = 190. The order of characters in the alphabet  casual. Let's down own alphabet in a following type: 17, 100, 34, 35, 144, 190, 88, 66, 1 P, u, t, i, n, M, e, d, v In the first line addresses of characters of own alphabet in the general alphabet are specified. In the second line own alphabet is specified. For letter conversion "P" in a letter "M" we compare addresses of letters "P" and "M". These are numbers 17 and 190. For letter display "P" through a letter "M" it is necessary to add to number 17 number 19017=173 and to 190 address to consider a letter "M". Number 173 we write down in a vector on the first place as this number displays the first letters. For display of a letter "u" through a letter "e" we compare addresses of letters "u" and "e". These are numbers 100 and 88. For display of a letter "u" through a letter "e" it is necessary to add to number 100 unknown number x, such that number 88 turned out. We solve the equation 100 + x = 88, from here x =12. Our task to receive all positive numbers for display. As, at us it turned out 12 <1 we add to it an amount of numbers in the alphabet 12 + 190 = 178. Thus, the second displaying a letter "u" in a letter "e" will be equal 178. We write down this number on the second place in a vector 173, 178. The letter address "e" is calculated as follows: 100 + 178  190 = 88. For letter display "t" through a letter "d" we compare addresses of letters "t" and "d". These are numbers 34 and 66. For letter display "t" through a letter "d" it is necessary to add to number 34 unknown number x, such that number 66 turned out. We solve the equation 34 + x = 66, from here x = 32. Thus, the third displaying a letter "t" in a letter "d" will be equal 32. We write down this number on the third place in a vector 173, 178, 32. The letter address "d" is calculated as follows: 34+32 = 66. For display of a letter "i" through a letter "v" we compare addresses of letters "i" and "v". These are numbers 35 and 1. For display of a letter "i" through a letter "v" it is necessary to add to number 35 unknown number x, such that number 1 turned out. We solve the equation 35 + x = 1, from here x =34. Our task to receive all positive numbers for display. As, at us it turned out 34 <1 we add to it an amount of numbers in the alphabet 34 + 190 = 156. Thus, the fourth displaying a letter "i" in a letter "v" will be equal 156. We write down this number on the fourth place in a vector 173, 178, 32, 156. The letter address "v" is calculated as follows: 35 + 156  190 = 1. For letter display "n" through a letter "e" we compare addresses of letters "n" and "e". These are numbers 144 and 88. For letter display "n" through a letter "e" it is necessary to add to number 144 unknown number x, such that number 88 turned out. We solve the equation 144 + x = 88, from here x =56. Our task to receive all positive numbers for display. As, at us it turned out 56 <1 we add to it an amount of numbers in the alphabet 56 + 190 = 134. Thus, the fifth displaying a letter "n" in a letter "e" will be equal 134. We write down this number on the fifth place in a vector 173, 178, 32, 156, 134. The letter address "e" is calculated as follows: 144 + 134  190 = 88. Let's assume that we know a word Medvedev, the alphabet and a vector of numbers 173, 178, 32, 156, 134. We look that turns out at recovery. We find the address of a letter "M" (the first letter in a word Medvedev) in the alphabet. This number 190. As at display we added unknown number at recovery it is necessary to subtract vector numbers. We subtract from number 190 the first of a vector 190  173 = 17. As number positive to 17 address in the alphabet we find a letter "P". The first letter is recovered. We find the letter address "e" (the second letter in a word Medvedev) in the alphabet. This number 88. As at display we added unknown number at recovery it is necessary to subtract vector numbers. We subtract from number 88 the second of a vector 88  178 =90. As the number is less 1 it is necessary to add number N=190. We receive 90 + 190 = 100. To 100 address in the alphabet we find a letter "u". The second letter is recovered. In total "Pu" is recovered. We find the letter address "d" (the third letter in a word Medvedev) in the alphabet. This number 66. As at display we added unknown number at recovery it is necessary to subtract vector numbers. We subtract from number 66 the third of a vector 66  32 = 34. To 34 address in the alphabet we find a letter "t". The third letter is recovered. In total "Put" is recovered. We find the letter address "v" (the fourth letter in a word Medvedev) in the alphabet. This number 1. As at display we added unknown number at recovery it is necessary to subtract vector numbers. We subtract from number 1 the fourth of a vector 1  156 =155. As the number is less 1 it is necessary to add number N=190. We receive 155 + 190 = 35. To 35 address in the alphabet we find a letter "i". The fourth letter is recovered. In total it is recovered "Puti". We find the letter address "e" (the fifth letter in a word Medvedev) in the alphabet. This number 88. As at display we added unknown number at recovery it is necessary to subtract vector numbers. We subtract from number 88 the fifth of a vector 88  134 =46. As the number is less 1 it is necessary to add number N=190. We receive 46 + 190 = 144. To 144 address in the alphabet we find a letter "n". The fifth letter is recovered. In total it is recovered "Putin". Numbers in a vector are used everything, hence recovery is completed. An amount of numbers in a vector to equally length of the reset information. If the first word was more than the second at achievement of the end of a word at display, it is necessary to pass to the first character. Thus, display through the unique character is carried out. The MOST IMPORTANT: addresses in the alphabet should begin with 1. As on elements of the alphabet of any restrictions it is not superimposed, as alphabet elements bytes, the arbitrary texts, words, etc. can appear It is possible to use not one alphabet, and two and more. Necessary and sufficient condition for display of the arbitrary text through other arbitrary text: the Alphabet should contain own alphabet. As vector numbers depend only on a sequence of characters in the alphabet and do not depend on characters there is the whole class equal to a factorial from N, displays of the same information through other same information. This algorithm is published in 2009 Yours faithfully, scientific, the author 
My Computer Forum is free to register and we welcome everyone! 
February 26th, 2014, 08:13 AM  #2 
Joined: Feb 2014 Posts: 2  Re: Algorithm of information display
It is necessary here for what: New method of storage of personal data In a database personal data should be saved in a following type: 1) Invented personal data which on appearance do not differ from the valid personal data. For example, Petrov real surname can be stored in a surname type Mevedevsky or Obama or any another. The size of a real surname and the size of an invented surname among themselves are not connected in any way. 2) the Dialup of integer numbers from 1 to 65535 in an amount, to the equal size of real personal data. For example, for Peter's surname is 6 numbers, as in Peter's surname of 6 letters, about such: 111, 75, 71, 29, 100, 211. It is more than anything in a database it should not be saved. For recovery of the real data from invented it is necessary to store in a computer random access memory the alphabet  the list of the characters used for display of personal data. The maximum is 65535 characters in coding Unicode. The Sequence of characters in the alphabet has primary value. The dialup of numbers in the example resulted above for Petrov surname is a communication between addresses of letters of a real surname of Petrov in the alphabet and addresses of letters of an invented surname Mevedevsky in the alphabet. The alphabet differs from a font that characters in the alphabet differ only on the code and a sequence of characters the arbitrary. An outline of characters has no value for the alphabet. In a font of an outline of characters has primary value and a sequence of characters the unique. Addresses of letters in the alphabet and real letters among themselves are not connected in any way. If hackers steal from a database an invented surname Mevedevsky or Obama and steal a dialup of numbers 111, 75, 71, 29, 100, 211 recover Petrov real surname cannot, as there is an alphabet. And to steal the alphabet from a random access memory it is almost impossible. If to change in the alphabet a sequence of characters it will be already other dialup of numbers for Petrov surname. It is possible to change from time to time the alphabet and to replace dialups of numbers in a database for personal data. Invented personal data can to be changed. As you can see, to steal personal data it is impossible, as they simply are not present. Theft of invented personal data in this case is senseless. We understand as personal data including passwords, logins, accounts, etc. 

Tags 
algorithm, display, information 
Thread Tools  
Display Modes  

Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Round Robin Voting Algorithm  Joshj  Algorithms  0  April 13th, 2013 05:06 AM 
Building a Computer with Quad Display  ryanandrews33  OS Architecture  0  January 30th, 2013 03:40 PM 
Algorithm tutorial website  ailan  Algorithms  1  November 25th, 2011 01:40 PM 
html code to display message when a webpage loads...  chetanbhasin  Programming  3  June 10th, 2010 05:43 AM 
Dijkstra's algorithm  milin  Algorithms  1  November 1st, 2008 05:51 PM 