private static long createLong()

in src/java/org/apache/fulcrum/jce/crypto/PasswordFactory.java [231:242]


    private static long createLong(byte [] buf, int nOfs)
    {
        return
            ((long)(( buf[nOfs    ]          << 24) |
                    ((buf[nOfs + 1] & 0x0ff) << 16) |
                    ((buf[nOfs + 2] & 0x0ff) <<  8) |
                    ( buf[nOfs + 3] & 0x0ff       )) << 32) |
            ((long)(( buf[nOfs + 4]          << 24) |
                    ((buf[nOfs + 5] & 0x0ff) << 16) |
                    ((buf[nOfs + 6] & 0x0ff) <<  8) |
                    ( buf[nOfs + 7] & 0x0ff       )) & 0x0ffffffffL);
    }