oqs 2.0.1
oqs: ^2.0.1 copied to clipboard
Dart FFI bindings for liboqs — high-performance post-quantum cryptography (PQC) with ML-KEM, ML-DSA, Falcon, SPHINCS+ for key encapsulation and signatures.
2.0.1 #
Added Random Number Generation: New OQSRandom class providing cryptographically secure random number generation #
- generateBytes(int length) - Generate random bytes using liboqs RNG
- generateSeed([int seedLength]) - Generate cryptographic seeds (default 32 bytes)
- generateInt(int min, int max) - Generate random integers in specified range
- switchAlgorithm(String algorithm) - Switch between RNG algorithms (system, OpenSSL, etc.)
- getAvailableAlgorithms() - List available RNG algorithms
- resetToDefault() - Reset to system RNG