MCPcopy Create free account

hub / github.com/daniellerch/stegolab / functions

Functions190 in github.com/daniellerch/stegolab

↓ 19 callersMethodload
(self, path)
pyEC/ensemble.py:99
↓ 12 callersMethodsave
(self, path)
pyEC/ensemble.py:96
↓ 9 callersMethodsymmetrize_display
Converts the canonical representation [0, p-1] to the symmetric representation [-(p-1)/2, (p-1)/2] for display purposes.
watermarking/H[i]dden.py:216
↓ 8 callersMethod_mod
Reduces the Gaussian integer (a + bi) modulo p to the [0, p-1] range.
watermarking/H[i]dden.py:57
↓ 7 callersMethod_mul_mod
Performs Gaussian multiplication (self * other) and reduces modulo p. (a1 + b1i) * (a2 + b2i) = (a1*a2 - b1*b2) + (a1*b2 + a2*b1)i
watermarking/H[i]dden.py:76
↓ 6 callersMethod__pow__
Performs Gaussian modular exponentiation: (a + bi)^e mod p. Uses the efficient Square-and-Multiply algorithm.
watermarking/H[i]dden.py:95
↓ 6 callersFunctiontest_code
(code_type, code, payload)
codes/test_codes.py:37
↓ 5 callersFunctionH_i
(dct, k, l, i)
calibration/calibration.py:39
↓ 4 callersMethod_bytes_to_ternary
(self, m)
codes/ternary_random_codes.py:80
↓ 4 callersMethod_bytes_to_ternary
(self, m)
codes/ternary_hamming_codes.py:67
↓ 4 callersFunctiondecrypt
Decrypts the Gaussian ElGamal ciphertext (nu1, nu2) using the private key 'a'. Message: mu = nu2 * tau^-1 mod p, where tau = nu1^a mod p
watermarking/H[i]dden.py:394
↓ 4 callersFunctionencrypt
Encrypts a Gaussian integer message (mu) using the Gaussian ElGamal scheme. Ciphertext: (nu1, nu2)
watermarking/H[i]dden.py:365
↓ 4 callersFunctionhide
(cover_path, stego_path, payload)
J-RBV/j-rbv-color.py:242
↓ 4 callersFunctionload_images
(path_pattern)
cnn/stego_cnn_xu.py:43
↓ 3 callersMethod_ternary_to_bytes
(self, m)
codes/ternary_random_codes.py:96
↓ 3 callersMethod_ternary_to_bytes
(self, m)
codes/ternary_hamming_codes.py:83
↓ 3 callersFunctionbeta_kl
(dct_0, dct_b, k, l)
calibration/calibration.py:43
↓ 3 callersMethoddivide_by_gaussian
Performs standard (non-modular) Gaussian division: self / other. Returns: - A GaussianInteger if the division results in a
watermarking/H[i]dden.py:173
↓ 3 callersFunctionhide
(cover_path, stego_path, payload)
S-UNIWARD/s-uniward-color.py:173
↓ 3 callersFunctionhide
(cover_path, stego_path, payload)
J-UNIWARD/j-uniwardfast-color.py:233
↓ 3 callersFunctionhide
(cover_path, stego_path, payload)
J-UNIWARD/j-uniwardfast-rgbnr-wiener-color.py:307
↓ 3 callersFunctionhide
(cover_path, stego_path, payload)
J-UNIWARD/j-uniwardfast-rgbnr-color.py:275
↓ 3 callersFunctionuncompress
(coeffs, quant)
J-UNIWARD/j-uniwardfast-rgbnr-wiener-color.py:98
↓ 3 callersFunctionuncompress
(coeffs, quant)
J-UNIWARD/j-uniwardfast-rgbnr-color.py:95
↓ 2 callersMethod_bits_to_bytes
(self, m)
codes/hamming_codes.py:74
↓ 2 callersMethod_bits_to_bytes
(self, m)
codes/random_codes.py:88
↓ 2 callersMethod_bytes_to_bits
(self, m)
codes/hamming_codes.py:65
↓ 2 callersMethod_bytes_to_bits
(self, m)
codes/random_codes.py:79
↓ 2 callersMethod_embed
(self, c, m)
codes/hamming_codes.py:93
↓ 2 callersMethod_embed
(self, c, m)
codes/ternary_random_codes.py:126
↓ 2 callersMethod_embed
(self, c, m)
codes/ternary_hamming_codes.py:113
↓ 2 callersMethod_embed
(self, c, m)
codes/random_codes.py:107
↓ 2 callersMethod_extract
(self, s)
codes/hamming_codes.py:166
↓ 2 callersMethod_extract
(self, s)
codes/ternary_random_codes.py:212
↓ 2 callersMethod_extract
(self, s)
codes/ternary_hamming_codes.py:205
↓ 2 callersMethod_extract
(self, s)
codes/random_codes.py:177
↓ 2 callersMethod_n_ary
(self, n)
codes/hamming_codes.py:43
↓ 2 callersMethod_n_ary
(self, n)
codes/wet_paper_codes.py:44
↓ 2 callersFunction_power
Computes (a^d) % n using modular exponentiation.
watermarking/H[i]dden.py:243
↓ 2 callersFunctionciphertext_multiply
Multiplies two ciphertexts component-wise (nu1, nu2) * (nu1', nu2') mod p.
watermarking/H[i]dden.py:414
↓ 2 callersMethodembed
(self, cover, message)
codes/ternary_random_codes.py:167
↓ 2 callersMethodextract
(self, stego)
codes/ternary_random_codes.py:226
↓ 2 callersFunctionhide
(cover_path, stego_path, payload)
J-UNIWARD/j-uniward-color.py:199
↓ 2 callersFunctionhide
(cover_path, stego_path, payload)
J-UNIWARD/j-uniward.py:110
↓ 2 callersFunctionhide
(cover_path, stego_path, payload, T=5)
HILL/HILL.py:116
↓ 2 callersFunctioninvDCT
(m)
J-UNIWARD/j-uniwardfast-rgbnr-wiener-color.py:67
↓ 2 callersFunctioninvDCT
(m)
J-UNIWARD/j-uniwardfast-rgbnr-color.py:64
↓ 2 callersFunctionmiller_rabin
Performs the Miller-Rabin primality test.
watermarking/H[i]dden.py:247
↓ 2 callersFunctionternary_entropyf
(pP1, pM1)
S-UNIWARD/s-uniward-color.py:54
↓ 2 callersFunctionternary_entropyf
(pP1, pM1)
J-RBV/j-rbv-color.py:69
↓ 2 callersFunctionternary_entropyf
(pP1, pM1)
J-UNIWARD/j-uniward-color.py:55
↓ 2 callersFunctionternary_entropyf
(pP1, pM1)
J-UNIWARD/j-uniwardfast-color.py:73
↓ 2 callersFunctionternary_entropyf
(pP1, pM1)
J-UNIWARD/j-uniward.py:52
↓ 2 callersFunctionternary_entropyf
(pP1, pM1)
J-UNIWARD/j-uniwardfast-rgbnr-wiener-color.py:130
↓ 2 callersFunctionternary_entropyf
(pP1, pM1)
J-UNIWARD/j-uniwardfast-rgbnr-color.py:115
↓ 2 callersFunctionternary_entropyf
(pP1, pM1)
HILL/HILL.py:57
↓ 1 callersFunctionDCT
(m)
J-UNIWARD/j-uniwardfast-rgbnr-wiener-color.py:82
↓ 1 callersFunctionD_BLK_CC
(c, w_r)
watermarking/D_BLK_CC.py:46
↓ 1 callersFunctionD_LC
(c, w_r)
watermarking/D_LC.py:47
↓ 1 callersFunctionD_SIMPLE_8
(c, w_ri)
watermarking/D_SIMPLE_8.py:45
↓ 1 callersFunctionD_TRELLIS_8
(c, passw)
watermarking/D_TRELLIS_8.py:58
↓ 1 callersFunctionE_BLIND
(c_o, w_r, m)
watermarking/E_BLIND.py:48
↓ 1 callersFunctionE_BLK_BLIND
(c_o, w_r, m)
watermarking/E_BLK_BLIND.py:47
↓ 1 callersFunctionE_FIXED_LC
(c_o, w_r, m)
watermarking/E_FIXED_LC.py:49
↓ 1 callersFunctionE_SIMPLE_8
(c_o, w_ri, m_i)
watermarking/E_SIMPLE_8.py:47
↓ 1 callersFunctionE_TRELLIS_8
(c_o, m_i, passw)
watermarking/E_TRELLIS_8.py:60
↓ 1 callersFunctionYCbCr_to_RGB
(Y, Cb, Cr)
J-UNIWARD/j-uniwardfast-rgbnr-wiener-color.py:122
↓ 1 callersFunctionYCbCr_to_RGB
(Y, Cb, Cr)
J-UNIWARD/j-uniwardfast-rgbnr-color.py:107
↓ 1 callersMethod__eq__
Checks for equality.
watermarking/H[i]dden.py:44
↓ 1 callersMethod__invert__
Calculates the Gaussian modular inverse z^-1 mod p using the Norm method: z^-1 = conjugate(z) * Norm(z)^(-1) mod p.
watermarking/H[i]dden.py:143
↓ 1 callersMethod_back_substitution
(self, H, z)
codes/wet_paper_codes.py:108
↓ 1 callersMethod_bits_to_bytes
(self, m)
codes/wet_paper_codes.py:75
↓ 1 callersMethod_bits_to_bytes
(self, m)
codes/STC.py:143
↓ 1 callersMethod_bytes_to_bits
(self, m)
codes/wet_paper_codes.py:66
↓ 1 callersMethod_bytes_to_bits
(self, m)
codes/STC.py:134
↓ 1 callersMethod_calc_syndrome
(self, x)
codes/STC.py:117
↓ 1 callersMethod_conjugate
Returns the conjugate (a - bi). The optional p is for consistency with other modular methods, but this is a standard arithmetic operation.
watermarking/H[i]dden.py:124
↓ 1 callersMethod_dual_viterbi
(self, x, w, m)
codes/STC.py:62
↓ 1 callersMethod_find_ij
(self, H, i)
codes/wet_paper_codes.py:94
↓ 1 callersMethod_matrix_lt_process
(self, A, b)
codes/wet_paper_codes.py:121
↓ 1 callersMethod_norm
Returns the norm (a^2 + b^2), which is an integer.
watermarking/H[i]dden.py:133
↓ 1 callersMethod_norm_mod_p
Returns the norm (a^2 + b^2) mod p, which is an integer.
watermarking/H[i]dden.py:137
↓ 1 callersMethod_prepare_H
(self)
codes/ternary_random_codes.py:59
↓ 1 callersMethod_prepare_H
(self)
codes/ternary_hamming_codes.py:46
↓ 1 callersFunctionbits_to_msg_file
(bit_list, path)
jpeg/lsbr.py:20
↓ 1 callersFunctioncalc_lambda
(rho_p1, rho_m1, message_length, n)
S-UNIWARD/s-uniward-color.py:65
↓ 1 callersFunctioncalc_lambda
(rho_p1, rho_m1, message_length, n)
J-RBV/j-rbv-color.py:80
↓ 1 callersFunctioncalc_lambda
(rho_p1, rho_m1, message_length, n)
J-UNIWARD/j-uniward-color.py:66
↓ 1 callersFunctioncalc_lambda
(rho_p1, rho_m1, message_length, n)
J-UNIWARD/j-uniwardfast-color.py:84
↓ 1 callersFunctioncalc_lambda
(rho_p1, rho_m1, message_length, n)
J-UNIWARD/j-uniward.py:62
↓ 1 callersFunctioncalc_lambda
(rho_p1, rho_m1, message_length, n)
J-UNIWARD/j-uniwardfast-rgbnr-wiener-color.py:141
↓ 1 callersFunctioncalc_lambda
(rho_p1, rho_m1, message_length, n)
J-UNIWARD/j-uniwardfast-rgbnr-color.py:126
↓ 1 callersFunctioncalc_lambda
(rho_p1, rho_m1, message_length, n)
HILL/HILL.py:67
↓ 1 callersFunctioncalibration
(path, only_first_channel=False)
calibration/calibration.py:53
↓ 1 callersFunctioncompress
(spatial, quant)
J-UNIWARD/j-uniwardfast-rgbnr-wiener-color.py:110
↓ 1 callersFunctioncompute_B
(residuals)
J-RBV/j-rbv-color.py:132
↓ 1 callersFunctioncompute_rho
(residuals, B, quant)
J-RBV/j-rbv-color.py:142
↓ 1 callersFunctioncost_fn
(cover)
S-UNIWARD/s-uniward-color.py:116
↓ 1 callersFunctioncost_fn
(coeffs, spatial, quant)
J-RBV/j-rbv-color.py:185
↓ 1 callersFunctioncost_fn
(coeffs, spatial, quant)
J-UNIWARD/j-uniward-color.py:115
next →1–100 of 190, ranked by callers