Flipping Bits

Bit flipping is an algorithmic manipulation of binary digits (bits). It’s performing logical negation to a single bit, or each of several bits, switching state 0 to 1, and vice versa. Bit flipping one of bit manipulation algorithm which popular except other bit manipulation like AND, OR, XOR, NOT, and bit shifts. It’s usually used on a cryptography algorithm to make obfuscate of the message.

More …

Simple ASYNCIO Python 3

I have a problem with use of asyncio. Where every call my function must running with event loop. I hate it, because will make my code to long and not efficient. I think if used decorator will make simplify my code and work fast with async. This is my simple decorator which one will wrapping async function and called with event loop.

More …