摘要 |
The invention provides a scheme for generating a symmetric encryption key for a given character string, such as a password or an alphanumeric. There is no limitation on the length or content of the given character string. The character string is converted to a bi tstream using a standard character encoding scheme, such as ASCII. The bitstream is then subjected to com binations of bitstream processing operations over multiple rounds. The bitstream processing o perations can include splitting the bitstream into multiple sub-bitstreams, reordering and shuffling t he sub-bitstreams, performing logical bit-wise operations on the sub-bitstreams, performing one-way hashing on the sub-bitstreams, and combining the multiple sub-bitstreams back into a single bit stream through logical bit-wise operations on the sub-bitstreams. Prior to converting the character str ing into a bitstream, the given character string may be optionally combined with an initialization charact er string (for example, an initialization string associated with a particular processor), and it is the combined character string that is then encoded and used for generating an encryption key. Applying the com bination rounds of the bitstream processes multiple times, for example sixteen times, will result i n a strong key for encryption. |