Classes
Methods
clear()
Clear the properties from memory.
getDriveKey()
Function returns the encryption key that will be used to encrypt/decrypt the files
getHashKey()
Function returns the hash key that will be used to sign the file chunks
getIterations()
Get the number of iterations for the master key derivation.
Returns:
getMasterKey()
Get the master key.
Returns:
setDriveKey()
Set the drive key.
Parameters:
Name | Type | Description |
---|---|---|
this.driveKey |
The drive key |
setHashKey(hashKey)
Set the hash key.
Parameters:
Name | Type | Description |
---|---|---|
hashKey |
The hash key |
setIterations(iterations)
Set the number of iterations for the master key derivation.
Parameters:
Name | Type | Description |
---|---|---|
iterations |
The iterations |
setMasterKey(masterKey)
Set the master key.
Parameters:
Name | Type | Description |
---|---|---|
masterKey |
The master key |