Commit a473537e authored by robertdavidgraham's avatar robertdavidgraham
Browse files

banners

parent e69704b8
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
/*
    BlackRock cipher

    (h/t Marsh Ray @marshray for this idea)

    This is a randomization/reshuffling function based on a crypto
    "Feistal network" as describ ed in the paper:

@@ -89,7 +91,7 @@ uint64_t
F(uint64_t j, uint64_t R)
{
    static const uint64_t primes[] = {
        961752031, 982324657, 15485843  };
        961752031, 982324657, 15485843, 961752031,  };

    R = (R << (R&0x4)) + R;