Take the 2-minute tour ×
Cryptography Stack Exchange is a question and answer site for software developers, mathematicians and others interested in cryptography. It's 100% free, no registration required.

"a block cipher is a deterministic algorithm operating on fixed-length groups of bits, called blocks, with an unvarying transformation that is specified by a symmetric key. - Wikipedia "

But with a native tweak support inside a block cipher, one can achieve "varying" transformation with same symmetric key but different tweak. i.e probabilistic encryption without changing the key or using the block cipher in some mode .

Now is a block cipher with native tweak support still considered a deterministic encryption ? The only determinism being the length of the output (that is same as length of the input).

share|improve this question
    
The use of the word "deterministic" in "deterministic algorithm" and "deterministic encryption" is not the same here, be careful not to confuse the two. In the first case is just means that given the same plaintext, key, tweak, and anything else that parameterizes the block cipher, you will always get the same ciphertext (which is obviously true), while the latter is about semantic security. So a tweakable block cipher is still "deterministic" but may be used in probabilistic encryption schemes. Are you asking how to generalize the notion of deterministic encryption to tweakable block ciphers? –  Thomas Apr 21 at 5:58
    
Do we call a symmetric encryption scheme probabilistic only when it is used in some mode, say CBC ? Can it never be natively probabilistic ? –  sashank Apr 21 at 6:23
add comment

1 Answer

When talking about encryption with block ciphers, you should distinguish block cipher itself from the mode of operation that employs the block cipher.

Block cipher takes an input $P$ of fixed length $n$ and transforms it under key $K$ (and possibly under other parameters such as tweak $T$) to output $C$ of the same length $n$: $$ E:\; P \xrightarrow{K(,T)} C. $$ It is always deterministic in the sense that $C$ is entirely determined by the listed parameters.

A mode of operation $\Pi$ is used to turn a fixed-length block cipher into a variable-length encryption scheme. To achieve semantic security, modes of operation typically uses deterministic nonces or random initialization vectors. In the latter case the resulting schemes are called probabilistic.

The use of tweaks is somewhat orthogonal to this classification. Both deterministic and probabilistic modes may use tweaks to further parametrize the encryption (e.g., in disk encryption).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.