Skill Wiki v0.1.0
anti-pattern @security/anti-pattern-roll-your-own-crypto

Roll Your Own Crypto

Implementing a cipher, hash, MAC, or 'lightweight encryption scheme' from scratch instead of using a vetted library.…

Skill
@security
Domain
security
Version
0.1.0
Quality
4.0
Edges
3 out · 2 in
Tokens
91/317/542
$ prime install @security/anti-pattern-roll-your-own-crypto

Projection

Always in _index.xml · the agent never has to ask for this.

RollYourOwnCrypto [anti-pattern] v0.1.0

Implementing a cipher, hash, MAC, or 'lightweight encryption scheme' from scratch instead of using a vetted library. Includes XOR-with-a-key 'encryption', rolling your own JWT-style token format, hashing-then-truncating for an integrity tag, or using crypto primitives in modes you didn't see in a paper.

Source

prime-system/examples/security-appsec/primes/compiled/@security/anti-pattern-roll-your-own-crypto/atom.yaml

Compiled at 2026-05-10