Skip to main content
QUICK REVIEW

[Paper Review] MOBS (Matrices Over Bit Strings) public key exchange

Nael Mizanur Rahman, Vladimir Shpilrain|arXiv (Cornell University)|Jun 2, 2021
Cryptography and Data SecurityComputer Science6 references6 citations
TL;DR

This paper proposes MOBS (Matrices Over Bit Strings), a novel public key exchange protocol using matrices with entries as bit strings and Boolean OR/AND operations in place of addition and multiplication. The scheme leverages a semidirect product with permutation groups to resist standard algebraic attacks, achieving efficient computation and strong security under a computational Diffie-Hellman-like assumption, with performance under 1 second on standard hardware when optimized.

ABSTRACT

We use matrices over bit strings as platforms for Diffie-Hellman-like public key exchange protocols. When multiplying matrices like that, we use Boolean OR operation on bit strings in place of addition and Boolean AND operation in place of multiplication. As a result, (1) computations with these matrices are very efficient; (2) standard methods of attacking Diffie-Hellman-like protocols are not applicable.

Motivation & Objective

  • To design a new public key exchange protocol resistant to standard algebraic attacks that target traditional Diffie-Hellman schemes.
  • To leverage the computational efficiency of Boolean operations on bit strings for practical key exchange.
  • To overcome the short orbit problem in matrix power dynamics by introducing permutation-based obfuscation.
  • To establish a security assumption analogous to the computational Diffie-Hellman problem in a non-associative, non-ring semiring setting.
  • To demonstrate that the resulting shared key is computationally indistinguishable from random-like matrices with a predictable 0-bit bias, which remains secure under plausible assumptions.

Proposed method

  • The protocol uses $ n \times n $ matrices with entries as bit strings of fixed length $ k $, where Boolean OR replaces addition and Boolean AND replaces multiplication.
  • Matrix multiplication is performed using these operations, forming a semigroup that is not a ring due to lack of additive inverses.
  • A semidirect product is constructed between the matrix semigroup and the symmetric group $ S_k $, where permutations act on bit string entries to obscure structure.
  • The shared secret key is computed as $ K = h^{a+b-1}(M) \cdot h^{a+b-2}(M) \cdots h(M) \cdot M $, with $ h $ being a permutation-induced matrix transformation.
  • Security relies on the infeasibility of solving the matrix equation $ X \cdot A = B $ for $ X $, especially when multiple solutions exist due to non-uniqueness in the bit-string semiring.
  • The scheme is implemented in Python and achieves sub-second performance on standard hardware, even without optimization.

Experimental results

Research questions

  • RQ1What is the maximum number of distinct matrices in the orbit $ \{M^s \mid s \in \mathbb{Z}_+\} $ for an $ n \times n $ matrix with single-bit entries?
  • RQ2How does the dynamics of matrix powers behave under Boolean operations, and how short are typical orbits in practice?
  • RQ3Can a semidirect product with permutation groups effectively prevent linear algebra-based attacks on matrix-based key exchange protocols?
  • RQ4What is the distribution of 0 and 1 bits in the final shared key, and can it be made statistically indistinguishable from random when the input matrix is randomly generated?
  • RQ5Is it computationally infeasible to recover the shared key from public matrices $ A = h^a(M) $ and $ B = h^b(M) $, even when the equation $ h(A) \cdot M = h^a(M) \cdot A $ admits multiple solutions?

Key findings

  • For $ 3 \times 3 $ matrices with single-bit entries, the longest orbit before stabilization to the all-ones matrix $ U $ is 4 steps, with 6 such matrices identified.
  • For $ 4 \times 4 $ matrices, the longest such orbit is 9 steps, with 24 matrices achieving this length.
  • For $ 5 \times 5 $ matrices, the longest orbit before reaching $ U $ is 16 steps, with 120 such matrices.
  • The final shared key $ K $ has approximately 67% of its bits as 0s when input bits are chosen with probability 0.5 for '1', but this can be balanced to 50% by setting input probability to ~0.535.
  • The system is secure against the 'telescoping' attack because multiple solutions exist for the matrix equation $ X \cdot A = B $, and $ 2^k $ solutions arise when entries are over bit strings of length $ k $, making exhaustive search infeasible for $ k = 200 $.
  • The protocol runs in under 1 second on a standard desktop computer when optimized, demonstrating high computational efficiency due to Boolean operations instead of arithmetic.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.