Class EncryptionKey
Basic AES encryption. Uses a 256-bit (32-byte) key.
Inheritance
System.Object
EncryptionKey
Namespace: Couchbase.Lite
Assembly: Couchbase.Lite.dll
Syntax
public sealed class EncryptionKey : IDisposable
Remarks
NOTE: This is an enterprise edition feature
Constructors
| Improve this Doc View SourceEncryptionKey(Byte[])
Creates an instance from existing key data.
Declaration
public EncryptionKey(byte[] keyData)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | keyData | The derived key data to use |
Remarks
NOTE: This is an enterprise edition feature
EncryptionKey(String)
Creates an instance with a key derived from a password, using default salt and rounds.
Declaration
public EncryptionKey(string password)
Parameters
Type | Name | Description |
---|---|---|
System.String | password | The password to derive the key from |
Remarks
NOTE: This is an enterprise edition feature
Methods
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()