Note that if I slow the loop down and sleep 100ms between each call to encrypt(), this pattern goes away, leading me to believe something internally is based on the current time? Please explain, is this still fairly secure to use?
borfnorton wrote:
If you can run the above, the output towards the end of your console will have data that looks something like this: See the pattern per iteration? Each "block of 3" encryptions per unique password starts to develop the same prefix of characters. Why is this? Is it still secure, should we use something else?
qHzOB11vmOSjj/diZRM73A==
qHzOB11vmOT1iZkYh4wPrQ==
qHzOB11vmOSoB+YmwPXdJA==
QrqvW2s9ZEAN/GGWyrgmVQ==
QrqvW2s9ZECfLddQ3mgD2g==
QrqvW2s9ZEBD04lhsuYQTw==
8La/KX1jNIR3nV6n+Lo72g==
8La/KX1jNITaEQvP2bdHkA==
8La/KX1jNIQRIVE9LglYwg==