DBA Data[Home] [Help]

APPS.FND_CONCURRENT_FILE dependencies on FND_HASH_PKG

Line 25: fcrc := fnd_hash_pkg.crc32(rval);

21:
22: -- Compute CRC32 of the random number and the sequence number,
23: -- this creates a self-checking value.
24: rval := lpad(to_char(frand),10,'0')||lpad(to_char(fuid),10,'0');
25: fcrc := fnd_hash_pkg.crc32(rval);
26:
27: -- XOR the sequence and random values with whatever we have
28: -- lying around. This make our algorithm more obscure,
29: -- since sequence values and pseudorandom numbers are no longer

Line 31: fuid := fnd_hash_pkg.xor32(fuid, frand);

27: -- XOR the sequence and random values with whatever we have
28: -- lying around. This make our algorithm more obscure,
29: -- since sequence values and pseudorandom numbers are no longer
30: -- obvious to an observer.
31: fuid := fnd_hash_pkg.xor32(fuid, frand);
32: frand := fnd_hash_pkg.xor32(fcrc, frand);
33:
34: -- this value will be unique
35: fid := fcrc * power(2,64) + frand * power(2,32) + fuid;

Line 32: frand := fnd_hash_pkg.xor32(fcrc, frand);

28: -- lying around. This make our algorithm more obscure,
29: -- since sequence values and pseudorandom numbers are no longer
30: -- obvious to an observer.
31: fuid := fnd_hash_pkg.xor32(fuid, frand);
32: frand := fnd_hash_pkg.xor32(fcrc, frand);
33:
34: -- this value will be unique
35: fid := fcrc * power(2,64) + frand * power(2,32) + fuid;
36: