In this example, both Alice and Bob are on the same computer (in the same JVM, in fact). In reality, Alice and Bob would be in different locations, and would be sending their generated payloads to each other.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static BigInteger | |
| public static void |
| JPAKEExample | back to summary |
|---|---|
| public JPAKEExample() | |
| deriveSessionKey | back to summary |
|---|---|
| private static BigInteger deriveSessionKey(BigInteger keyingMaterial) | |
| main | back to summary |
|---|---|
| public static void main(String[] args) throws CryptoException | |