prepareBuffAESIVBytes static method
Implementation
static void prepareBuffAESIVBytes(Uint8List buff, int nonce) {
buff[0] = nonce & 0xFF;
buff[1] = (nonce >> 8) & 0xFF;
buff[2] = (nonce >> 16) & 0xFF;
buff[3] = (nonce >> 24) & 0xFF;
for (int i = 4; i <= 15; ++i) {
buff[i] = 0;
}
}