Rabin public key cryptosystem based on quadratic residues modulo composite numbers. Security equivalent to integer factorization. Each ciphertext decrypts to four possible plaintexts requiring disambiguation.
| Property | Value |
|---|---|
| Category | Asymmetric Ciphers |
| Sub-category | Public Key Cryptosystem |
| Security status | π Educational Only |
| Complexity | Advanced |
| Inventor | Michael O. Rabin |
| Year | 1979 |
| Origin | πΊπΈ United States |
| Source | algorithms/asymmetric/rabin.js |
| Parameter | Supported values |
|---|---|
| Key sizes | 1024 bytes (8192 bits); 2048 bytes (16384 bits) |
Status: π Educational Only
No vulnerabilities are recorded for this implementation.
2 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.
Vector 1 β Rabin Round-trip Test - Crypto++ Implementation Pattern
| Field | Value |
|---|---|
key |
0400 |
input |
48656c6c6f20576f726c64 |
expected |
48656c6c6f20576f726c64 |
Vector 2 β Rabin-2048 round-trip
| Field | Value |
|---|---|
key |
0800 |
input |
546865207365636f6e64206b65792073697a65 |
expected |
546865207365636f6e64206b65792073697a65 |