--- id: 5900f4231000cf542c50ff35 challengeType: 5 title: 'Problem 182: RSA encryption' --- ## Description
The RSA encryption is based on the following procedure: Generate two distinct primes p and q.Compute n=pq and φ=(p-1)(q-1). Find an integer e, 1 ## Instructions
## Tests
```yml tests: - text: euler182() should return 399788195976. testString: assert.strictEqual(euler182(), 399788195976, 'euler182() should return 399788195976.'); ```
## Challenge Seed
```js function euler182() { // Good luck! return true; } euler182(); ```
## Solution
```js // solution required ```