Browser-compatible implementation of Node.js crypto module providing cryptographic operations in web environments.
Overall
score
100%
{
"context": "This criteria evaluates how well the engineer uses crypto-browserify's RSA encryption functions to implement two distinct security patterns: confidentiality (encrypting with public key, decrypting with private key) and authenticity (encrypting with private key, decrypting with public key).",
"type": "weighted_checklist",
"checklist": [
{
"name": "publicEncrypt usage",
"description": "Uses crypto.publicEncrypt() to implement confidential encryption in the encryptConfidential function",
"max_score": 25
},
{
"name": "privateDecrypt usage",
"description": "Uses crypto.privateDecrypt() to implement confidential decryption in the decryptConfidential function",
"max_score": 25
},
{
"name": "privateEncrypt usage",
"description": "Uses crypto.privateEncrypt() to implement authenticated encryption in the encryptAuthenticated function",
"max_score": 25
},
{
"name": "publicDecrypt usage",
"description": "Uses crypto.publicDecrypt() to implement authenticated decryption in the decryptAuthenticated function",
"max_score": 25
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-crypto-browserifydocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10