5 ms·
Modern hashing functions pretty much offer encryption out of box like gimli or BLAKE2 family (I think they call it XOF mode). This is pretty much thanks to the
by commandersaki 3y ago
Modern hashing functions pretty much offer encryption out of box like gimli or BLAKE2 family (I think they call it XOF mode).
This is pretty much thanks to the sponge construction.
- tptacek 3y agoYou can spitball a hash-based stream cipher with any hash function in just a couple lines of python. Take a 128 bit key string, and then hash it with an incrementing counter to get successive 32 bytes of keystream data, just like you would with AES in CTR mode.