Implement Core PQC Cryptography

implementationChallenge

Prompt Content

Using your chosen PQC library (e.g., `oqs-python`), implement the core key encapsulation/decapsulation mechanism (KEM) and digital signature algorithm (DSA). Ensure key pair generation, key exchange, encryption/decryption of a simple payload, and message signing/verification functions are robust. Use CodeLlama to generate secure code snippets for these cryptographic primitives and review potential vulnerabilities.

Try this prompt

Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations