# Common Rules in Cryptography

DevFeed: [Common Rules in Cryptography](<https://devfeed.tech/articles/common-rules-in-cryptography-32110.md>)

Original publisher: [Read original article](<https://adambard.com/blog/common-rules-of-cryptography/>)

Published: 2013-11-07T00:00:00Z

Content type: opinion

Language: en

Sources: [Adam Bard](<https://devfeed.tech/sources/adam-bard.md>)

Topics: [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [Encryption](<https://devfeed.tech/topics/encryption.md>), [Security, Privacy and Abuse Prevention](<https://devfeed.tech/topics/security-privacy-and-abuse-prevention.md>)

Tags: [cryptography](<https://devfeed.tech/tags/cryptography.md>), [encryption](<https://devfeed.tech/tags/encryption.md>), [paper](<https://devfeed.tech/tags/paper.md>), [security](<https://devfeed.tech/tags/security.md>)

## AI overview

A brief commentary shares six rules of thumb for cryptography, covering ECB mode, CBC initialization vectors, encryption keys, password-based encryption salts and iterations, and SecureRandom seeds. The author recommends consulting the cited source paper for explanations.

## Source excerpt

Disclaimer: I have no background in cryptography, despite writing occasional ramblings on the subject. I just know what I've picked up along the way, of which precious little is made available to people who don't go searching for it.