Hot answers tagged symmetric
My preference would be to use hash for this purpose. Cons of using symmetric cipher include: Symmetric cipher keys are shorter than hashes (128-256 bits), where as hashes are longer (160-512 bits). When considering the length of symmetric cipher output, it is commonly short (like 128 bits). This length is often inadequate to protect against birthday attack ...
Only top voted, non community-wiki answers of a minimum length are eligible