fhenix-encrypted-bitwise

Installation
SKILL.md

Fhenix Encrypted Bitwise Operations

Overview

  • Logic (and, or, xor, not) works on ebool | euint8 | euint16 | euint32 | euint64 | euint128.
  • Shift / rotate (shl, shr, rol, ror) works on euint8…128 only.
Function Meaning
and / or / xor bitwise AND / OR / XOR (also on ebool)
not bitwise NOT (also on ebool)
shl / shr shift left / right
rol / ror rotate left / right
euint32 masked  = FHE.and(value, FHE.asEuint32(255)); // low byte
euint32 shifted = FHE.shl(masked, 4);                 // << 4
ebool   toggled = FHE.not(flag);                      // ebool also supported
Installs
1
First Seen
Jun 22, 2026
fhenix-encrypted-bitwise — nickthelegend/fhenix-skills