A device, including associated alarms and self-tests, for generating cryptographic keys (and where needed, initialization vectors. )