Reference for OrangeHRM's cryptographic and password-handling primitives — the `Cryptographer` class (AES-256-GCM with random nonces for ne…
“网络安全”领域的一个 Skill。已为 Claude Code, Codex, OpenCode 及另外 32 个智能体 准备好命令。
完整描述
Reference for OrangeHRM's cryptographic and password-handling primitives — the `Cryptographer` class (AES-256-GCM with random nonces for new ciphertext, legacy AES-128-ECB still accepted on decrypt for backward compatibility), `KeyHandler` for the file-based crypto key lifecycle (created at install when data encryption is enabled, stored at `lib/confs/cryptokeys/key.ohrm`), `EncryptionHelperTrait` for accessing the Cryptographer from EntityListeners with the `encryptionEnabled()` guard, `PasswordHash` wrapping PHP's `password_hash`/`password_verify` with `PASSWORD_BCRYPT` cost 12, the `GCMAES256.` prefix marker that distinguishes new vs legacy ciphertext, the encrypt-on-write + decrypt-on-read symmetric round-trip pattern via EntityListeners, and the CSRF token handling via Symfony's `CsrfTokenManagerTrait`. Use whenever the user is adding a new sensitive column that needs encryption, debugging crypto failures, asking about key rotation, handling passwords, or implementing CSRF protection. Companion to `entities` (EntityListener side of encryption), `migrations` (column sizing — ciphertext needs 512 chars), `config` (where OAuth encryption keys are stored).
Skill 是加载到智能体(如 Claude Code 或 Codex)里的一组指令。就像在手机上安装应用:装一次,智能体就知道怎么做这件事。
它有什么用?
用于“网络安全”相关工作。发布者的介绍:Reference for OrangeHRM's cryptographic and password-handling primitives — the `Cryptographer` class (AES-256-GCM with random nonces for new ciphertext, legacy…
示例请求
“检查这个项目有没有安全漏洞。”
智能体
已为 Claude Code, Codex, OpenCode 及另外 32 个智能体 准备好命令。
值得信任吗?
1,165 个 GitHub 星标 · GPL-3.0。安装前请先查看来源。
使用情况
最近 30 天,网站和智能体上。
0个书架收藏
0次浏览
0次命令复制
0次网站下载
0次通过应用安装
0次由智能体自行安装
0位活跃用户
实测评分需要 ANG 应用中至少 20 位用户和 50 个任务;目前有 0 位用户、0 个任务。在此之前,强度分根据条目数据估算。