Patent ID: 7539305
Filing Date: 2009-05-26
Classification: H04L

Abstract:
1. A method of encrypting a text message, the method comprising: receiving a text message and a secret key; converting the text message into at least one text message block; generating a first master key as a function of the secret key and a base key; wherein generating the first master key comprises: establishing a matrix of C columns, wherein C is an integer greater than or equal to 1 and R rows wherein R is an integer greater than or equal to 1; filling the first B bytes of the matrix with the first B bytes of the secret key, wherein B is an integer greater than or equal to 1; determining whether the matrix is fully occupied based on the filling of the first B bytes; filling, based on the determination, the second B bytes with an XORing of the first B bytes as a function of the base key; determining whether the matrix is fully occupied based on the filling of the second B bytes; filling, based on the determination, the third B bytes with an XORing of the second B bytes as a function of the base key extracting a schryption key and a parameter key from the master key; ciphering at least one text message block as specified by the schryption key to yield a cipher message block; determining whether the ciphered text message block leaves any text message blocks un-ciphered; generating a new master key based on the determination, the new master key generated as a function of the first master, base key and schryption key; and encrypting the text message based on at least the first master key and new master key.