Questions tagged [tea]

Tiny Encryption Algorithm (TEA) is a block cipher by David Wheeler and Roger Needham of the Cambridge Computer Laboratory; notable for its simplicity of description and implementation.

Filter by
Sorted by
Tagged with
1 vote
0 answers
81 views

XTEA-based encryption to handle up to 128bit block size [closed]

As learning to be an electronic engineer, my lecturer has requested, based on the original Xtea, to develop the FPGA solution to run 128-bit block size and 128-bit key size cryptography. I have ...
DT Nam LE's user avatar
2 votes
1 answer
102 views

Differential cryptanalysis to ciphertext-only attacks on xxTEA

In my IoT project, I use the xxTEA encryption algorithm to encrypt my data. I use the same encryption key for all my packets because I don't have the possibility to do a key exchange between Alice and ...
nonmerci's user avatar
0 votes
1 answer
69 views

Should I split a 3MByte block into smaller blocks if using XXTEA?

Given that I have a 3MByte block of data, a random key and need to use XXTea, is there any advantage in splitting the block of data into smaller blocks and encoding / decoding each separately? Is ...
Ant's user avatar
  • 101
3 votes
3 answers
376 views

Is TEA suitable for encrypting/authenticating many short messages?

I know that TEA has its weaknesses, but is easy to implement. My question is whether it would be suitable for my use case: The main reason for using encryption is not so much secrecy, but ...
Oliver Mason's user avatar
4 votes
0 answers
158 views

How sensitive is Tiny Encryption Algorithm (TEA) to the magic numbers?

If I needed to implement an encryption algorithm from memory, chances are I would try to implement: TEA https://en.wikipedia.org/wiki/Tiny_Encryption_Algorithm How sensitive is it to the magic ...
Meir Maor's user avatar
  • 11.8k
5 votes
1 answer
878 views

Why are there so many versions of the TEA block cipher?

Why are there so many types of TEA, for example TEA, XTEA, and XXTEA? What are the differences?
Wei Wen's user avatar
  • 305
4 votes
2 answers
275 views

Is this algorithm good enough for small radio messages?

This question is related to: How to implement security - authenticity/confidentiality/integrity for 6/14 bits radio messages? I am looking for a message that an attacker listening to the radio ...
Victor Iorinescu's user avatar
2 votes
2 answers
1k views

Tiny Encryption Algorithm (TEA) weakness

The Wikipedia states that different multiples of a magic constant are used to prevent simple attacks based on the symmetry of the rounds. The magic constant, ...
rj487's user avatar
  • 123
2 votes
2 answers
860 views

How do I check if the output of my CFB TEA encryption algorithm is correct?

I have an assignment question regarding the TEA cipher in CFB mode. After much difficulty and research, I managed to produce an 8-bit TEA / CFB encryption algorithm. My input is supposed to be a ...
astral zhang's user avatar
0 votes
1 answer
463 views

How many bits shift is a TEA encryption?

...
Jeugasce's user avatar
18 votes
1 answer
8k views

Is TEA considered secure?

Wikipedia claims that the best attack on the surprisingly simple TEA block cipher, that isn't a related-key attack, has a time complexity of $2^{121.5}$. So despite how unsophisticated the cipher ...
ithisa's user avatar
  • 1,101
6 votes
1 answer
498 views

Low complexity implementation of a small blocksize cipher (< 64 bit)

Searching for "small blocksize cipher" finds a number of discussions on the topic, mostly refering to FPE. This one in particular suggests using AES as the round function of a Feistel network. The ...
TheLazyEngineer's user avatar
4 votes
3 answers
3k views

Hash function in PBKDF2

From this excellent answer I learned (correct me if I am wrong) that when writing a block cipher with say key size 128 bit, one has to pad the password given (variable size) so that it becomes exactly ...
Thomas's user avatar
  • 1,174
2 votes
1 answer
1k views

Padding for the TEA

Having finally figured out how to implement the Tiny Encryption Algorithm in C++, I wonder what to do about padding the key and the plaintext. I know that there are various ways of doing this, but is ...
Thomas's user avatar
  • 1,174