4 ms·
And it's probably not padding, just a uint
by avereveard 3y ago
And it's probably not padding, just a uint
- aaronmdjones 3y agoIt is padding. It was encrypted with AES, which has a block size of 128 bits. Its input needs to be padded to that amount, unless you use it in some stream modes of operation (e.g. CTR).
- avereveard 3y agoEugh I hope not the padding should be at block level not at content level if this was the standard zero padding from a crypto lib you'd have 0x80 before the padding bytes (and you'd get the unpadded message when decoding it correctly)
- aaronmdjones 3y agoWell, they're encrypting with a statically-built-in key shared across all of their devices (and even with others). I hardly think they care about properly implementing padding!