CRYPTO NEWS

ALEX – Next gen DeFi on Bitcoin via Stacks

Chiente Hsu is the ex-Managing Director and Global Head of Quantitative Investment Strategy and Research at Morgan Stanley. She is the founder of ALEX, an open-source DeFi development company built on the Stacks Blockchain.

How to create a key for AES in a 192 bit key length from a password?

Lets say that I have a password. And it’s secure. But it’s a 10 character string. So If I wanted to to create a AES key for 128 bit version of the algorithm I would just hash it using MD5. Or If I wanted the 256 version of the algorithm I would hash it with::Listen

Lets say that I have a password. And it’s secure. But it’s a 10 character string.

So If I wanted to to create a AES key for 128 bit version of the algorithm I would just hash it using MD5. Or If I wanted the 256 version of the algorithm I would hash it with any of the 256 length hash functions such as Sha_256. But I have not bee able to find any hashes (other some named Tiger) that generates 192 bit outputs. No matter the salt or the previous steps in the key generation process, the last step seems to always be a hash which returns a key of the desired length.

Is the normal solution to always use the same hash (say Sha256) and just take the number of bits that are required for the key? If not, then how for 192?

ALEX – Next gen DeFi on Bitcoin via Stacks

Shopping cart
There are no products in the cart!
Continue shopping
0