Abstract: A method for transmitting a message securely between two entities, a sender and a receiver remotely located from each other and a system for carrying out the method is disclosed. The method includes using an array containing numbers based on the infinite sequence of value of ‘pi’; selecting a pattern and tracing and extracting the selected pattern along the numbers in the array sequentially to form a decimal number string. The decimal string is partitioned and converted to binary which is used as a cipher for coding the message by XORing.