| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 1 year, 7 months |
| seen | Apr 14 at 2:05 | |
| stats | profile views | 1 |
|
Jun 18 |
comment |
Is ECB mode secure if plaintexts guaranteed to be unique? There is one other field in the plaintext that stays the same for each record. It's 6 bytes long. If I were to check that field as well as the checksum as part of the authentication procedure, I'd increase my security to 64 bits, wouldn't I? (I realize that's a lot less than 128. Just wondering if I'm thinking clearly here.) |
|
Jun 18 |
comment |
Is ECB mode secure if plaintexts guaranteed to be unique? So what you're saying, if I hear you right, is that I should use a larger checksum? If so, I suppose I'd have to use a checksum as large as the key to provide authentication as strong as the cipher itself, wouldn't I? (Just wondering.) |
|
Jun 18 |
comment |
Is ECB mode secure if plaintexts guaranteed to be unique? You're right about integrity. However, I've made the last 2 bytes of my plaintext a simple checksum over the other 14, and they contain a counter that allows me to tell if they're new or not (sort of like an OTP scheme). |
|
Jun 18 |
comment |
Is ECB mode secure if plaintexts guaranteed to be unique? Thanks. That's what I thought, but in crypto it's always best to assume you're incapable of determining whether or not you're stupid. |