search

goog.storage.EncryptedStorage

Provided By
Extends

Provides an encrypted storage. The keys are hashed with a secret, so their existence cannot be verified without the knowledge of the secret. The values are encrypted using the key, a salt, and the secret, so stream cipher initialization varies for each stored value.

new EncryptedStorage( mechanism, secret )

Parameters
mechanismgoog.storage.mechanism.IterableMechanism

The underlying storage mechanism.

secretstring

The secret key used to encrypt the storage.

Instance Methods

Instance Properties

Static Properties