Explore chapters and articles related to this topic
Data Types, Operators, and Expressions
Published in Amartya Mukherjee, Nilanjan Dey, Smart Computing with Open Source Platforms, 2019
Amartya Mukherjee, Nilanjan Dey
Bitwise operators are used to perform bitwise operations on bit patterns. Some of the bitwise operators are discussed as follows: Bitwise AND (&) performs ANDing operation between the bit patterns of the data provided on the left- and right-hand sides of the operator.Bitwise OR (|) performs bitwise OR of two numbers provided on the left- and right-hand sides of the operator.Bitwise operators such as bitwise XOR (^) and bitwise not (~) are used to perform exclusive OR and not respectively.
Addressing some of bill of lading issues using the Internet of Things and blockchain technologies: a digitalized conceptual framework
Published in Maritime Policy & Management, 2023
Elnaz Irannezhad, Hamed Faroqi
Notably, deploying IoT data facilitates track and tracing of the container at the terminals and gates. Nevertheless, the security of the container and the whole supply chain relies heavily on the authenticity of the PubSensorsID. The low-cost sensors in the market, such as RFID tags, lack the computational capabilities to perform complex cryptographic functions. In the literature of cryptography, the bitwise operation has been identified as one of the efficient ways to overcome this limitation (Liu et al. 2019). Among various bitwise operations (e.g. AND, OR, or binary inner-product operations), the bitwise XOR operation has higher security due to its one-to-one property (Alomair and Poovendran 2008).
Test input generation of bitwise operation based on four-valued logic
Published in International Journal of Computers and Applications, 2018
Feng Li, Yawen Wang, Yunzhan Gong
There are 11 numerical operations in the C language, four of which are bitwise operations: &, |, ^, ~ (bitwise operation in this paper is especially referred to logic-based operation, not including the shift operations: <<, >>). According to the statistics of 16 open source projects, nearly 150,000 lines of code, the bitwise operation accounts for 12% in all numerical operations and the probability of occurring in the program is 2.7% (see attached Table 1 for detail).