Required Instance Methodswift-crypto 3.8.0Crypto

    encapsulate

    Encapsulates the generated shared secret

    KEM.swift:39
    func encapsulate() throws -> KEM.EncapsulationResult

    Returns

    The shared secret and its encapsulated version