r2: memset the string on checksum generation