DiffieHellmanMerkle

public class DiffieHellmanMerkle : KeyExchange

Diffie-Hellman-Merkle key exchange using NCSC Foundation Profile MODP group 14 (2048-bit) by default

KeyExchange

Optional in-situ test functions

  • Run performance test on phone hardware Note : Use release build for performance tests as it is over 40x faster than debug build

    Declaration

    Swift

    public func performanceTest(_ samples: UInt64 = 100)