tessl install tessl/npm-crypto-browserify@3.12.0Browser-compatible implementation of Node.js crypto module providing cryptographic operations in web environments.
Agent Success
Agent success rate when using this tile
100%
Improvement
Agent success rate improvement when using this tile compared to baseline
1x
Baseline
Agent success rate without this tile
100%
{
"context": "This criteria evaluates how well the engineer utilizes crypto-browserify's predefined Diffie-Hellman groups for secure key exchange. The focus is on using standardized MODP groups through the appropriate package APIs rather than generating custom cryptographic parameters.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses predefined groups",
"description": "Implementation uses getDiffieHellman() or createDiffieHellmanGroup() to create instances with standardized MODP group names (e.g., 'modp5', 'modp14') rather than createDiffieHellman() with custom parameters",
"max_score": 35
},
{
"name": "Generates key pairs",
"description": "Calls generateKeys() method on the Diffie-Hellman instance to create public/private key pairs",
"max_score": 15
},
{
"name": "Retrieves public keys",
"description": "Uses getPublicKey() method with appropriate encoding (e.g., 'hex') to export public keys for exchange",
"max_score": 15
},
{
"name": "Computes shared secret",
"description": "Uses computeSecret() method with the other party's public key and appropriate encodings to derive the shared secret",
"max_score": 25
},
{
"name": "Handles multiple groups",
"description": "Implementation correctly supports different predefined group names (e.g., 'modp5', 'modp14') as specified in the requirements",
"max_score": 10
}
]
}