CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-crypto-browserify

Browser-compatible implementation of Node.js crypto module providing cryptographic operations in web environments.

Overall
score

100%

Overview
Eval results
Files

rubric.jsonevals/scenario-1/

{
  "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-browserify

tile.json