3 ms·
The solution is to use hash function. It is fine to cut down hash output so 128-bit from SHA-1 would be fine.
by ianburrell 1y ago
The solution is to use hash function. It is fine to cut down hash output so 128-bit from SHA-1 would be fine.
- tgma 1y agoHow would you look up the key if it is passed it back to you from another API? It won't be reversible. If you want to persist two keys, you might as well generate a random second key and persist that. No crypto shenanigans needed.