OQS_KEM class final

Key encapsulation mechanism object

Inheritance
Implemented types
Available extensions

Constructors

OQS_KEM()

Properties

address → Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
alg_version ↔ Pointer<Char>
Printable string representing the version of the cryptographic algorithm.
getter/setter pair
claimed_nist_level ↔ int
The NIST security level (1, 2, 3, 4, 5) claimed in this algorithm's original NIST submission.
getter/setter pair
decaps ↔ Pointer<NativeFunction<Int Function(Pointer<Uint8> shared_secret, Pointer<Uint8> ciphertext, Pointer<Uint8> secret_key)>>
Decapsulation algorithm.
getter/setter pair
encaps ↔ Pointer<NativeFunction<Int Function(Pointer<Uint8> shared_secret, Pointer<Uint8> ciphertext, Pointer<Uint8> secret_key)>>
Encapsulation algorithm.
getter/setter pair
encaps_derand ↔ Pointer<NativeFunction<Int Function(Pointer<Uint8> ciphertext, Pointer<Uint8> shared_secret, Pointer<Uint8> public_key, Pointer<Uint8> seed)>>
Derandomized encapsulation algorithm.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
ind_cca ↔ bool
Whether the KEM offers IND-CCA security (TRUE) or IND-CPA security (FALSE).
getter/setter pair
keypair ↔ Pointer<NativeFunction<Int Function(Pointer<Uint8> public_key, Pointer<Uint8> secret_key)>>
Keypair generation algorithm.
getter/setter pair
keypair_derand ↔ Pointer<NativeFunction<Int Function(Pointer<Uint8> shared_secret, Pointer<Uint8> ciphertext, Pointer<Uint8> secret_key)>>
Derandomized keypair generation algorithm.
getter/setter pair
length_ciphertext ↔ int
The length, in bytes, of ciphertexts for this KEM.
getter/setter pair
length_encaps_seed ↔ int
The length, in bytes, of seeds for derandomized encaps generation for this KEM.
getter/setter pair
length_keypair_seed ↔ int
The length, in bytes, of seeds for derandomized keypair generation for this KEM.
getter/setter pair
length_public_key ↔ int
The length, in bytes, of public keys for this KEM.
getter/setter pair
length_secret_key ↔ int
The length, in bytes, of secret keys for this KEM.
getter/setter pair
length_shared_secret ↔ int
The length, in bytes, of shared secrets for this KEM.
getter/setter pair
method_name ↔ Pointer<Char>
Printable string representing the name of the key encapsulation mechanism.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited