Encryption is the process of transforming plaintext using a cipher to make it unreadable to anyone except those possessing the key.
1
vote
0answers
109 views
Is TOTP or a timestamp encryption a better timestamp-based authentication token system?
Are there advantages to using TOTP over encrypting a timestamp with a shared secret, in cases where the readability or ease of typing the token are not important?
1
vote
2answers
248 views
Difference in one time key and one time pad and many time key
These terms are confusing me. One time pad is when you use one key for one message. That is what One time key is.
Secondly, what is the connection of many time key, can i use one time pad many ...
1
vote
0answers
65 views
In S/MIME, are the same certificates always used to sign and encrypt messages?
My assumption is that S/MIME almost always utilizes certificates as follows:
My certificate can be used to allow people to encrypt messages and send them to me.
My certificate (the same ...
1
vote
0answers
76 views
Two untrusted party want to exchange data: how to ensure each one gets the data it needs? [duplicate]
Possible Duplicate:
Two untrusted party want to exchange data: how to insure each one gets the data it needs?
I am trying to come up with what could maybe be a novel algorithm for an ...
0
votes
2answers
207 views
Could the Enigma algorithm be classified as a Feistel network?
The Enigma algorithm is a encryption method that was developed (I believe) by the Germans in WWII. It went a little something like this:
When a letter was typed on the keyboard of the Enigma ...
0
votes
3answers
182 views
Is there a way to break this encryption?
I was wondering about making up a simple system to encrypt a file:
...
0
votes
2answers
213 views
Custom crypto library in C
I will be making (in the near future) an app that will contain some pretty heavy crypto. As it is possible that my app will be ported to different devices (initially it will be iOs only, but Mac, ...
0
votes
2answers
69 views
ElGamal: Generation of “g” value?
I haven't been able to find a clear explanation on this (and I'm probably just confused in general). I have the following parameters of ElGamal signatures:
$p$ = safe prime
$q = (p-1)/2$
$g$ = an ...
0
votes
1answer
64 views
Initialization value (IV) bit error
When a bit error happens in an IV, what would the result of decrypting a cipher-text be in the different encryption modes like ECB, CBC, CFB, OFB, and CTR?
0
votes
4answers
323 views
“Padless” One-time-Pad encryption
I have just read about the perfect security of an OTP encryption and what came to my mind was that what if the Pad used for encryption/decryption did not have to be transported separately from the ...
0
votes
2answers
85 views
Generate fixed length cipher text from arbitrary length plaintext
Using an encryption algorithm like AES, is it possible to generate a fixed length cipher text no matter how long the plain text becomes?
0
votes
1answer
71 views
Encrypting and Decrypting a 19-digits long BigInteger
How can I take a maximum 19-digits long BigInteger and encrypt it with the following rules:
The result must be based on digits and lower-case English letters ...
0
votes
2answers
301 views
What is the time complexity of the RC4 encryption & decryption algorithms?
I'm trying to figure out what the time complexity of RC4 encryption & decryption algorithms is, in big-O-notation.
0
votes
2answers
332 views
Can md5 be used for encrypting data?
I know that md5 shouldn't be used for password hashing because of collisions and possibility of making dictionary attacks e.g. using rainbow tables. But what about ...
0
votes
2answers
110 views
Physical Level Encryption
What types of algorithms that are capable of signing a message are out there that run on a physical level, e.g. lacking the infrastructure of a standard PC, no memory, processor or motherboard in the ...
0
votes
1answer
78 views
In which disciplinary kind can Cryptography be put?
Is it a multidisciplinary? an interdisciplinary? a cross-disciplinary? or a trans-disciplinary?
what are the basis put to describe each kind?
I mean how can we infer by which disciplinary field we can ...
0
votes
2answers
200 views
Key derivation from a random seed
The main problem is to use a block cipher to generate a random key.
I would like to generate 256-bits key which can be as random as possible. I generate it in the following way:
Pick a plaintext ...
0
votes
1answer
156 views
Key Scheduling of International Data Encryption Algorithm (IDEA)
How to perform the key scheduling in International Data Encryption Algorithm (IDEA),
I took a research but I can't understand how to perform it,
"further groups of eight keys are created by rotating ...
0
votes
1answer
398 views
Removing Padded Value in Decrypted Message
How to remove padded value in Decrypted Message?
I am using AES Algorithm..
ex:
this is the decrypted message..
"abcdefghijklmn "
there is a 2 space in that decrypted message which is equivalent ...
0
votes
1answer
1k views
How does one implement the Inverse of AES' MixColumns
I got an answer in the related question about Mixcolumn for encryption, but how about decryption?
what will I do?
Because it said that I will used this:
During decryption the Mix Column the ...
0
votes
2answers
62 views
Why this k parameter is in unary in adversary PPT algorithm? [duplicate]
While reading some text on cryptography, I found that algorithm $A$, that the adversary (called Eve by convention) runs to break the cipher message, needs two parameters, candidate message ($y$) and ...
0
votes
1answer
46 views
Solving congruences using PARI
I'm having trouble finding info in the docs about how to solve a system of congruences. The closest I can find is 'matsolvemod' in here: ...
0
votes
2answers
104 views
Strong encryption done by hand [duplicate]
One of the distinguishing features of a good encryption algorithm, is that it is easy to encrypt, and hard to crack. Are there any that are easy enough for average folk to remember, and calculate by ...
0
votes
2answers
150 views
Is such a crypto-system available?
$E(k_1, pt) = c_1, E(k_2, c_1) = c_2, D(k_{new}, c_2) = pt$, where $k_{new} = f(k_1, k_2).$ Sharing $k_{new}$ and $k_2$ should reveal no information about $k_1$.
Clarifications:
Being able to ...
0
votes
1answer
80 views
Using “Additional Authenticated Data” as a secondary key
In implementing a cipher in GCM or CCM mode, you are provided the option to add "Additional Authenticated Data" (AAD). This AAD is required for decrypting the cipher text, and seems to be used when ...
0
votes
2answers
133 views
How can I store a combination of multiple pass phrases?
Let's assume we have 2 phrases, one is the real password from a user, and the other is generated from the real password and almost impossible to guess. You would need both to authenticate a user. What ...
0
votes
1answer
92 views
RSA - Ecrypting the same data with the same public key = same ciphertext?
If an adversary knows my public key and guesses what was my plaintext, can he test for it somehow?
The most obvious way is encrypting the guessed plaintext with my public key and the same parameters ...
0
votes
1answer
91 views
ECKS-PS algorithm: searching in encrypted data; bilinear maps
I have found an encryption algorithm named ECKS-PS (published in the paper Efficient conjunctive keyword search on encrypted data storage system) that allows an user to search in encrypted data. All ...
0
votes
1answer
64 views
GPG vs PGP vs OpenSSH and management of them
What is the main difference of the three?
Can I use only one of them for everything (e.g. GPG for SSH authentication)
If I encrypt my private key with a pass-phrase, is it strong enough so that if ...
0
votes
1answer
157 views
How does a client verify a server certificate?
As far as I know,
when I request a certificate from Verisign (for example), and after they approved that me is me, they create a certificate (for me) which contains the digital signature and public ...
0
votes
1answer
234 views
Is it possible to crack a blowfish 256 bits encrypted file?
I have a file of my own that i have encrypted using Coder-Abi. Now i can just remember part of this password. So, would it be possible (much easier) for me to crack it knowing only part of it? I can ...
0
votes
1answer
350 views
What is the most secure encryption algorithm? [JS/PHP] [closed]
Lets say I have a web page with a form on it. There is javascript to submit the form after doing encryption. The encrypted string from the text box gets sent visibly to the server, which is running ...
0
votes
1answer
416 views
Calculating the inverse modularity of the determinant for Hill cipher
I'm trying to decrypt a message encrypted with Hill Cipher, but I don't understand how to find the determinant so it solves the equation det * 1/det = 1 mod 26. The determinant for my key matrix is ...
0
votes
1answer
95 views
Digital Certificate Chain Verification
Does a certificate contain the complete chain of all certificates up to the trusted root certificate, or does the program that verifies certificates have to fetch each parent certificate individually ...
0
votes
1answer
321 views
How to hack the new save encryption on ipad for uplink? [closed]
The new iPad version of Uplink appears to be using some new saving mechanic than the PC/Mac Version. Macs and PCs use 'RedShirt' but the iPad appears to instead be using 'SAV62' at the start of saves, ...
0
votes
1answer
118 views
RSA Signature - Multiple Use Weakness
I cite from Fundamentals of Computer Security (Chapter 7 on Digital Signature, Paragraph 7.3 on RSA Signatures, page 289):
Multiple uses of the RSA Signature scheme tend to weaken it. The way out ...
0
votes
1answer
182 views
Why does my implementation of CBC mode only decrypt the first block correctly? [closed]
I have the following code that uses a CBC mode to encrypt a text by dividing it to 3-elements block. But it only works correctly on the first block which is xored with the IV.
...
0
votes
2answers
69 views
Encrypting documents through a proxy key
Suppose I'm developing an app to secure a lot of documents. These documents were encrypted (say, using AES) with a key X.
This key X is basically the password that the user enters before wanting to ...
0
votes
1answer
376 views
What are open problems in cryptography? [closed]
I would be starting groundwork for my thesis in cryptography , I would like to know what are current open problems in cryptography, few I know of are
Fully Homomorphic Encryption
Functional ...
0
votes
1answer
391 views
iSeries (AS/400) Database File: password encryption
I am helping with a project in which an old software system on an iSeries is having a brand new .NET UI applied to it. It's going well... except...
In order to allow users to login and maintain ...
0
votes
2answers
73 views
Proper Way to Encrypt Data with Two Keys?
I'm going to develop a system that will have two keys. One supplied and generated by the system that's specific to an individual user and one from the user.
I plan on using AES.
Does it make sense ...
0
votes
0answers
27 views
Decrypting TLS in Wireshark when using DHE_RSA ciphersuites [migrated]
How can I decrypt TLS messages when an ephemeral Diffie-Hellman ciphersuite is used? I am able to expose the premaster secret and master secret from the SSL Client. Using that, how to decrypt the ...
0
votes
0answers
19 views
ECKS-PS algorithm: searching in encrypted data; bilinear maps [duplicate]
I have found an encryption algorithm named ECKS-PS (published in a paper named 'efficient conjunctive keyword search on encrypted data storage system', written by Jin Wook Byun, Dong Hoon Lee, and ...
0
votes
0answers
54 views
What is the significance of i^Q mod P = 1 and are there any special properties to be aware of?
I'm studying UProve, and one of the fundamental components of this technology is based upon the relationship between
i^Q mod P = 1
Lacking a specific name I can call this mathematical ...
0
votes
1answer
163 views
How to break AES CBC with PKCS#5 padding?
If I have a string encoded with AES CBC with PKCS#5 padding, how can one possibly decrypt/crack it? What are the approaches that one can take to break its security?
0
votes
1answer
118 views
Request for 1024-bit primes $p$ , subgroup $q$ and subgroup generator $g$
I need to find a prime $p$ of $1024$ bits with a $160$ bit sub group size $q$, such that $q|p-1$ , and $g$ is the generator of the sub group size $q$.
I'm looking for the numeric values of $p$ , $q$ ...
0
votes
3answers
194 views
How to check the strength of an encryption algorithm?
I asking for advice on how to check strength of an encryption algorithm.
0
votes
0answers
47 views
How compute encrypt and decrypt runtime for agorithm [closed]
I programming RSA algorithm is the following two function in java language in my thesis
...
0
votes
0answers
48 views
How compared encryption algorithm in terms of efficiency
I doing to compare two algorithm cryptography. first algorithm is RSA cryptography and second algorithm is El Gamal elliptic curve cryptography. now I want a way to compare between two algorithm by ...
0
votes
0answers
47 views
Intorduction to AES basics and where do i get online material [closed]
I'm final year undergraduate, i came across this encryption standarad and when i met my professor about this encyption standarad, he said ok go on with it, but he is not willing to guide me from ...

