Example of storing cryptographic keys with IndexedDB