# Issue 428 Tests

- Issue 428
- As of Oct 28, 2016, a Safari 10.0.1 bug causes bit twiddling math failures.
- Behavior is that after a while a section of deterministic code starts to fail and stays failing. For instance, the SHA-1 hash of a constant input.
- Likely cause is a hot loop is getting improperly optimized. Opening the console causes code to function properly. Observing critical code via saving values or logging can cause code to function properly.
- PBKDF tests can fail due to use of the hashing functions.
- Note: Due to the nature of this bug, once it is triggered a page refresh is required to test again.
- See JavaScript console for more detailed output.

Control
HASH: MD5 | SHA-1 | SHA-256 | SHA-384 | SHA-512
PBKDF2: MD5 | SHA-1 | SHA-256 | SHA-384 (slow) | SHA-512 (slow)
# of hash updates
# of pbkdf2 rounds
AES ENCRYPT: AES-CBC | AES-CFB | AES-OFB | AES-CTR | AES-GCM
# of aes encryptions
AES DECRYPT: AES-CBC | AES-CFB | AES-OFB | AES-CTR | AES-GCM
# of aes decryptions
Progress Status: ?
Pass: ?/?
Fail: ?
Tests