package com.facetec.sdk;
/* loaded from: classes.dex */
public class gg {
public static void e(byte[] bArr, byte b, long j) {
for (int i = 0; i < bArr.length; i++) {
if (((1 << i) & j) != 0) {
bArr[i] = (byte) (bArr[i] ^ b);
}