|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
Crypto Algorithm Evaluation - Requesting Evaluation of Randomized Encryption Format
I have designed, over the past year, a randomized encryption format. I call it a format and not an algorithm because it's a container in which existing algorithms are plugged into. As I am travelling right now, I do not have the C# source code on hand.
The basic summary is that encryption and HMAC keys (and IVs) are randomly generated, concatenated, and encrypted into a header before the ciphertext. The plaintext is then encrypted with the randomly generated key/IV. HMAC support is included. Is this container format already broken, or is it worth further review? |
|
#2
|
|||
|
|||
|
The container isn't broken, this is how lots of public key crypto is performed, slow asym encryption of a random sym key with the data then encrypted with the quicker sym algo
|
|
#3
|
||||
|
||||
|
This is a fairly common scheme for storing the extra HMAC and IV information along with the file. The scheme sounds common, likely the weakest point is the random number generation, since it's easy to mess that up.
__________________
- "Cryptographically secure linear feedback shift register based stream ciphers" -- a phrase that'll get any party started. - Why know the ordinary when you can understand the extraordinary? - Sponsor my caffeine addiction! (36.70 USD recieved so far -- Latest donor: Mark Foxvog) |
![]() |
| Viewing: Dev Shed Forums > System Administration > Security and Cryptography > Crypto Algorithm Evaluation - Requesting Evaluation of Randomized Encryption Format |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|