The length of the key used is of crucial importance for the security of an encryption algorithm in terms of brute-force attacks. For symmetrical procedures, keys of 128 bits and more are regarded as secure, while for asymmetrical procedures the threshold is 1024 bits or more.