In symmetric methods of encryption the key should be as long as the
plaintext message. Such a key is difficult to generate if the plaintext
data to be encrypted is enormous. The present invention provides a method
of creating a random key of variable length which may be extremely long.
It is generated by consecutively applying sub-keys having shorter
non-repeating random lengths.