主权项 |
1. A computer-implemented method for securing communication between a plurality of members, wherein a computing device performs acts comprising:
obtaining a group agreed seed known to each member of a group; generating, by an n-bit generator, at least one initial message digest using the group agreed seed; extracting a plurality of secrets from the at least one initial message digest, wherein each of the plurality of secrets comprises a different selection of bits extracted from the at least one initial message digest; assigning, for each communication mode of a plurality of communication modes, a unique subset of the plurality of secrets with the communication mode; identifying, by a first member of the group, a communication mode for a first communication to a second member of the group; selecting, by the first member, a first secret from the unique subset of the plurality of secrets corresponding to the communication mode for the first communication; generating, by the n-bit generator executing on the first member, a first message digest using the first secret; extracting, by the first member, first algorithm selector bits from the first message digest; selecting, by the first member, a first encryption algorithm identified in an algorithm selector table by the first algorithm selector bits; obtaining, from the algorithm selector table, a starting bit identifier, wherein the starting bit identifier is identified by the first algorithm selector bits; extracting, by the first member, a first encryption key from the first message digest by selecting a number of bits starting at a starting bit identified by the starting bit identifier; encrypting, by the first member, the first communication using the first encryption algorithm and the first encryption key to obtain a first encrypted communication; and sending, by the first member to the second member via the communication mode for the first communication, the first encrypted communication. |