DBA Data[Home] [Help]

APPS.IBY_SECURITY_PKG dependencies on FND_CRYPTO

Line 250: (seed => Fnd_Crypto.randombytes(G_DES3_MAX_KEY_LEN * 8),

246: -- subkey within use limit not found; create new one
247: --
248: x_subkey :=
249: dbms_obfuscation_toolkit.des3getkey
250: (seed => Fnd_Crypto.randombytes(G_DES3_MAX_KEY_LEN * 8),
251: which => dbms_obfuscation_toolkit.ThreeKeyMode
252: );
253: l_subkey_ciphertxt :=
254: dbms_obfuscation_toolkit.des3encrypt

Line 540: l_num := SUBSTR(fnd_crypto.randombytes(1),-1) || l_num;

536: l_num := LPAD(l_num,l_hex_len,'0');
537:
538: -- must be of unit byte length; 2 hex characters = 1 byte
539: IF (MOD(l_hex_len,2) = 1) THEN
540: l_num := SUBSTR(fnd_crypto.randombytes(1),-1) || l_num;
541: l_hex_len := l_hex_len+1;
542: END IF;
543:
544: -- data must be a multiple of 8 bytes long

Line 545: l_pad := fnd_crypto.randombytes(8-MOD(l_hex_len/2,8));

541: l_hex_len := l_hex_len+1;
542: END IF;
543:
544: -- data must be a multiple of 8 bytes long
545: l_pad := fnd_crypto.randombytes(8-MOD(l_hex_len/2,8));
546: l_num := l_pad || l_num;
547:
548: IF (p_des3mask) THEN
549: l_num := RAWTOHEX(utl_raw.bit_xor(l_num, DES3_MASK));

Line 611: l_num := SUBSTR(fnd_crypto.randombytes(1),-1) || l_num;

607: l_num := LPAD(l_num,l_hex_len,'0');
608:
609: -- must be of unit byte length; 2 hex characters = 1 byte
610: IF (MOD(l_hex_len,2) = 1) THEN
611: l_num := SUBSTR(fnd_crypto.randombytes(1),-1) || l_num;
612: l_hex_len := l_hex_len+1;
613: END IF;
614:
615: -- data must be a multiple of 32 bytes long

Line 616: l_pad := fnd_crypto.randombytes(32-MOD(l_hex_len/2,32));

612: l_hex_len := l_hex_len+1;
613: END IF;
614:
615: -- data must be a multiple of 32 bytes long
616: l_pad := fnd_crypto.randombytes(32-MOD(l_hex_len/2,32));
617: l_num := l_pad || l_num;
618:
619: IF (p_des3mask) THEN
620: l_num := RAWTOHEX(utl_raw.bit_xor(l_num, DES3_MASK));

Line 1051: l_pad := fnd_crypto.randombytes(2);

1047: -- (similar to most credit cards). This will be a good camouflage
1048: -- and also since the range of date values could be quite small,
1049: -- with the random bytes, we would prevent cipher attacks.
1050:
1051: l_pad := fnd_crypto.randombytes(2);
1052: l_padded_data := l_pad || l_trunc_date;
1053: l_segment_id := encrypt_field_vals(l_padded_data, master_key_in,
1054: p_sec_segment_id, p_commit);
1055: