Home
last modified time | relevance | path

Searched refs:cyphertext (Results 1 – 25 of 172) sorted by relevance

1234567

/dports/games/cryptoslam/cryptoslam-1.2/
H A Dcryptogram.cpp31 cyphertext = ""; in Cryptogram()
42 cyphertext = SAMPLE_TEXT; in reset()
54 cyphertext = SAMPLE_TEXT; in loadFile()
74 cyphertext = strdup(block); in loadFile()
88 fwrite(cyphertext.c_str(), 1, cyphertext.length(), f); in saveFileText()
104 fwrite(cyphertext.c_str(), 1, cyphertext.length(), f); in saveFileBinary()
181 cyphertext = plaintext; in randomizeMessage()
196 c != cyphertext.end(); in newRandomMessage()
213 while (c != cyphertext.end()) in calcPlaintext()
241 for (string::iterator t = cyphertext.begin(); t != cyphertext.end(); t++) in letterDistribution()
[all …]
H A DREADME10 have a cyphertext file you would like to decode, you can start it with
13 area always shows the mapping between a cyphertext alphabet and a plaintext
15 cyphertext and plaintext side-by-side, but sometimes it shows the output
19 S:SetChar Set a cyphertext letter's decoding to a plaintext letter
20 U:UnsetChar Set a cyphertext letter's decoding back to unknown
21 R:ResetChars Set ALL cyphertext letters back to unknown
24 contents will be treated as a cyphertext to decode. If
26 saved state of the system--cyphertext, plaintext, and
28 T:saveText Save the cyphertext and current plaintext representation
34 variable) to create a new cyphertext file.
[all …]
/dports/security/p5-Alt-Crypt-RSA-BigInt/Alt-Crypt-RSA-BigInt-0.06/lib/Crypt/RSA/
H A DPrimitives.pm55 my $cyphertext = defined $params{Cyphertext} ? $params{Cyphertext} : $params{Ciphertext};
56 $cyphertext = Math::BigInt->new("$cyphertext") if ref($cyphertext) ne 'Math::BigInt';
59 return $self->error ("Decryption error.") if $cyphertext > $n;
72 my $p2 = ($cyphertext % $p)->bmodpow($dp, $p);
73 my $q2 = ($cyphertext % $q)->bmodpow($dq, $q);
77 $pt = $cyphertext->copy->bmodpow($d, $n);
80 debug ("ct == $cyphertext");
/dports/security/p5-Crypt-RSA/Crypt-RSA-1.99/lib/Crypt/
H A DRSA.pm101 my $cyphertext;
104 $cyphertext .= $self->{es}->encrypt (Message => $_, Key => $key)
109 $cyphertext = $self->{pp}->armour (
115 Content => { Cyphertext => $cyphertext },
120 return $cyphertext;
128 my $cyphertext = $params{Cyphertext} || $params{Ciphertext};
134 my $decoded = $self->{pp}->unarmour ($cyphertext) ||
136 $cyphertext = $$decoded{Content}{Cyphertext}
141 length($cyphertext)
146 my @segments = steak ($cyphertext, $blocksize);
/dports/security/p5-Alt-Crypt-RSA-BigInt/Alt-Crypt-RSA-BigInt-0.06/lib/Crypt/
H A DRSA.pm98 my $cyphertext;
101 $cyphertext .= $self->{es}->encrypt (Message => $_, Key => $key)
106 $cyphertext = $self->{pp}->armour (
112 Content => { Cyphertext => $cyphertext },
117 return $cyphertext;
125 my $cyphertext = $params{Cyphertext} || $params{Ciphertext};
131 my $decoded = $self->{pp}->unarmour ($cyphertext) ||
133 $cyphertext = $$decoded{Content}{Cyphertext}
138 length($cyphertext)
143 my @segments = steak ($cyphertext, $blocksize);
/dports/devel/nspr/nspr-4.33/nspr/lib/tests/
H A Dbase64t.c169 const char *cyphertext; member
2374 if( 0 != PL_strcmp(rv, array[i].cyphertext) ) in test_008()
2643 PRUint32 clen = PL_strlen(array[i].cyphertext); in test_014()
2656 if( '=' == array[i].cyphertext[clen-1] ) in test_014()
2695 PL_strcpy(buffer, array[i].cyphertext); in test_015()
3004 PRUint32 clen = PL_strlen(array[i].cyphertext); in test_021()
3042 PL_strcpy(buffer, array[i].cyphertext); in test_022()
3132 if( 0 != PL_strcmp(rv, array[i].cyphertext) ) in test_024()
3167 if( '=' == array[i].cyphertext[clen-1] ) in test_025()
3206 PL_strcpy(buffer, array[i].cyphertext); in test_026()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/nsprpub/lib/tests/
H A Dbase64t.c169 const char *cyphertext; member
2375 if( 0 != PL_strcmp(rv, array[i].cyphertext) ) in test_008()
2644 PRUint32 clen = PL_strlen(array[i].cyphertext); in test_014()
2657 if( '=' == array[i].cyphertext[clen-1] ) in test_014()
2696 PL_strcpy(buffer, array[i].cyphertext); in test_015()
3005 PRUint32 clen = PL_strlen(array[i].cyphertext); in test_021()
3043 PL_strcpy(buffer, array[i].cyphertext); in test_022()
3136 if( 0 != PL_strcmp(rv, array[i].cyphertext) ) in test_024()
3171 if( '=' == array[i].cyphertext[clen-1] ) in test_025()
3210 PL_strcpy(buffer, array[i].cyphertext); in test_026()
[all …]
/dports/www/firefox/firefox-99.0/nsprpub/lib/tests/
H A Dbase64t.c169 const char *cyphertext; member
2375 if( 0 != PL_strcmp(rv, array[i].cyphertext) ) in test_008()
2644 PRUint32 clen = PL_strlen(array[i].cyphertext); in test_014()
2657 if( '=' == array[i].cyphertext[clen-1] ) in test_014()
2696 PL_strcpy(buffer, array[i].cyphertext); in test_015()
3005 PRUint32 clen = PL_strlen(array[i].cyphertext); in test_021()
3043 PL_strcpy(buffer, array[i].cyphertext); in test_022()
3136 if( 0 != PL_strcmp(rv, array[i].cyphertext) ) in test_024()
3171 if( '=' == array[i].cyphertext[clen-1] ) in test_025()
3210 PL_strcpy(buffer, array[i].cyphertext); in test_026()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/nsprpub/lib/tests/
H A Dbase64t.c169 const char *cyphertext; member
2000 if( 0 != PL_strcmp(rv, array[i].cyphertext) ) in test_008()
2269 PRUint32 clen = PL_strlen(array[i].cyphertext); in test_014()
2282 if( '=' == array[i].cyphertext[clen-1] ) in test_014()
2321 PL_strcpy(buffer, array[i].cyphertext); in test_015()
2630 PRUint32 clen = PL_strlen(array[i].cyphertext); in test_021()
2668 PL_strcpy(buffer, array[i].cyphertext); in test_022()
2761 if( 0 != PL_strcmp(rv, array[i].cyphertext) ) in test_024()
2796 if( '=' == array[i].cyphertext[clen-1] ) in test_025()
2835 PL_strcpy(buffer, array[i].cyphertext); in test_026()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/nsprpub/lib/tests/
H A Dbase64t.c169 const char *cyphertext; member
2000 if( 0 != PL_strcmp(rv, array[i].cyphertext) ) in test_008()
2269 PRUint32 clen = PL_strlen(array[i].cyphertext); in test_014()
2282 if( '=' == array[i].cyphertext[clen-1] ) in test_014()
2321 PL_strcpy(buffer, array[i].cyphertext); in test_015()
2630 PRUint32 clen = PL_strlen(array[i].cyphertext); in test_021()
2668 PL_strcpy(buffer, array[i].cyphertext); in test_022()
2761 if( 0 != PL_strcmp(rv, array[i].cyphertext) ) in test_024()
2796 if( '=' == array[i].cyphertext[clen-1] ) in test_025()
2835 PL_strcpy(buffer, array[i].cyphertext); in test_026()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/nsprpub/lib/tests/
H A Dbase64t.c169 const char *cyphertext; member
2375 if( 0 != PL_strcmp(rv, array[i].cyphertext) ) in test_008()
2644 PRUint32 clen = PL_strlen(array[i].cyphertext); in test_014()
2657 if( '=' == array[i].cyphertext[clen-1] ) in test_014()
2696 PL_strcpy(buffer, array[i].cyphertext); in test_015()
3005 PRUint32 clen = PL_strlen(array[i].cyphertext); in test_021()
3043 PL_strcpy(buffer, array[i].cyphertext); in test_022()
3136 if( 0 != PL_strcmp(rv, array[i].cyphertext) ) in test_024()
3171 if( '=' == array[i].cyphertext[clen-1] ) in test_025()
3210 PL_strcpy(buffer, array[i].cyphertext); in test_026()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/nsprpub/lib/tests/
H A Dbase64t.c169 const char *cyphertext; member
2375 if( 0 != PL_strcmp(rv, array[i].cyphertext) ) in test_008()
2644 PRUint32 clen = PL_strlen(array[i].cyphertext); in test_014()
2657 if( '=' == array[i].cyphertext[clen-1] ) in test_014()
2696 PL_strcpy(buffer, array[i].cyphertext); in test_015()
3005 PRUint32 clen = PL_strlen(array[i].cyphertext); in test_021()
3043 PL_strcpy(buffer, array[i].cyphertext); in test_022()
3136 if( 0 != PL_strcmp(rv, array[i].cyphertext) ) in test_024()
3171 if( '=' == array[i].cyphertext[clen-1] ) in test_025()
3210 PL_strcpy(buffer, array[i].cyphertext); in test_026()
[all …]
/dports/security/p5-Crypt-RSA/Crypt-RSA-1.99/lib/Crypt/RSA/
H A DPrimitives.pm56 my $cyphertext = $params{Cyphertext} || $params{Ciphertext};
58 return $self->error ("Decryption error.") if $cyphertext > $n;
66 my $p2 = mod_exp($cyphertext % $p, $key->dp, $p);
67 my $q2 = mod_exp($cyphertext % $q, $key->dq, $q);
71 $pt = mod_exp ($cyphertext, $key->d, $n);
74 debug ("ct == $cyphertext");
/dports/security/vault/vault-1.8.2/builtin/credential/aws/pkcs7/
H A Ddecrypt.go69 var cyphertext []byte
82 cyphertext = buf.Bytes()
85 cyphertext = eci.EncryptedContent.Bytes
127 plaintext, err := gcm.Open(nil, params.Nonce, cyphertext, nil)
140 plaintext := make([]byte, len(cyphertext))
141 mode.CryptBlocks(plaintext, cyphertext)
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/containerd/containerd/vendor/go.mozilla.org/pkcs7/
H A Ddecrypt.go69 var cyphertext []byte
82 cyphertext = buf.Bytes()
85 cyphertext = eci.EncryptedContent.Bytes
127 plaintext, err := gcm.Open(nil, params.Nonce, cyphertext, nil)
140 plaintext := make([]byte, len(cyphertext))
141 mode.CryptBlocks(plaintext, cyphertext)
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/containerd/containerd/vendor/go.mozilla.org/pkcs7/
H A Ddecrypt.go69 var cyphertext []byte
82 cyphertext = buf.Bytes()
85 cyphertext = eci.EncryptedContent.Bytes
127 plaintext, err := gcm.Open(nil, params.Nonce, cyphertext, nil)
140 plaintext := make([]byte, len(cyphertext))
141 mode.CryptBlocks(plaintext, cyphertext)
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/bq/third_party/rsa/
H A Dcore.py50 def decrypt_int(cyphertext, dkey, n): argument
53 assert_int(cyphertext, 'cyphertext')
57 message = pow(cyphertext, dkey, n)
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/third_party/rsa/
H A Dcore.py49 def decrypt_int(cyphertext, dkey, n): argument
52 assert_int(cyphertext, 'cyphertext')
56 message = pow(cyphertext, dkey, n)
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/third_party/rsa/rsa/
H A Dcore.py49 def decrypt_int(cyphertext, dkey, n): argument
52 assert_int(cyphertext, 'cyphertext')
56 message = pow(cyphertext, dkey, n)
/dports/lang/spidermonkey60/firefox-60.9.0/third_party/python/rsa/rsa/
H A Dcore.py48 def decrypt_int(cyphertext, dkey, n): argument
52 assert_int(cyphertext, 'cyphertext')
56 message = pow(cyphertext, dkey, n)
/dports/security/py-rsa/rsa-3.4.2/rsa/
H A Dcore.py49 def decrypt_int(cyphertext, dkey, n): argument
52 assert_int(cyphertext, 'cyphertext')
56 message = pow(cyphertext, dkey, n)
/dports/www/chromium-legacy/chromium-88.0.4324.182/tools/swarming_client/third_party/rsa/rsa/
H A Dcore.py48 def decrypt_int(cyphertext, dkey, n): argument
52 assert_int(cyphertext, 'cyphertext')
56 message = pow(cyphertext, dkey, n)
/dports/www/firefox/firefox-99.0/third_party/python/rsa/rsa/
H A Dcore.py48 def decrypt_int(cyphertext, dkey, n): argument
52 assert_int(cyphertext, 'cyphertext')
56 message = pow(cyphertext, dkey, n)
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/python/rsa/rsa/
H A Dcore.py48 def decrypt_int(cyphertext, dkey, n): argument
52 assert_int(cyphertext, 'cyphertext')
56 message = pow(cyphertext, dkey, n)
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/third_party/rsa/rsa/
H A Dcore.py49 def decrypt_int(cyphertext, dkey, n): argument
52 assert_int(cyphertext, 'cyphertext')
56 message = pow(cyphertext, dkey, n)

1234567