I need to know there is any algorithm that crypts data in same size,
Any knowledge appriciated!
Thank you!
|
I need to know there is any algorithm that crypts data in same size, Any knowledge appriciated! Thank you! |
|||||||||||||||||||||
|
|
Your are looking for a encryption scheme that supports length preserving encryption. I recommend to use an authenticated encryption scheme like OCB or McOE. There are two common techniques to achieve this goal: Note that you need at least either a nonce or authentication tag -- or better both -- to preserve data privacy, i.e., security against chosen plaintext attacks (CPA). Maybe I got you wrong. Maybe you are looking for format-preserving encryption or something else. Hence, a more detailed problem description would be great. |
|||||||
|