| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 7 months |
| seen | Oct 12 '12 at 13:05 | |
| stats | profile views | 0 |
|
Oct 11 |
comment |
How to encrypt a short string and keep the length secret @CodesInChaos: I will save the encrypted data to files so I could use a PGP library. Doing this will take care of authentification, won't it? |
|
Oct 9 |
awarded | Supporter |
|
Oct 9 |
comment |
How to encrypt a short string and keep the length secret It's not how you explained it that confused me but that you thought that I wanted to use a single bit as a separator. (Please excuse me if you didn't actually missunderstand me that way) |
|
Oct 8 |
awarded | Student |
|
Oct 8 |
comment |
How to encrypt a short string and keep the length secret @SamuelEdwinWard: That's what I was wondering too. I guess rossum thought that I wanted to use a 0 bit as a separator, not a 0x00 byte. |
|
Oct 8 |
comment |
How to encrypt a short string and keep the length secret No, I actually need reversible encryption, not a hash function. |
|
Oct 8 |
comment |
How to encrypt a short string and keep the length secret I was thinking of a 0x00 byte, not a 0 bit. That would have worked for ASCII, but now I'm not sure if UTF-8 (or any other unicode encoding) actually guarantees that no character ends with a 0x00 byte. Obviously 1 bit padding does indeed require 0x00 bytes. Also, why pad with zeros? I thought random padding would be more effective as part of the plain text is effectively known if the padding is all 0x00 |
|
Oct 7 |
comment |
How to encrypt a short string and keep the length secret That's probably a good idea. Does either of these have a native method for obscuring the length? Otherwise I'll still have to do that on top. |
|
Oct 7 |
asked | How to encrypt a short string and keep the length secret |