diff --git a/en/application-dev/reference/apis/js-apis-data-rdb.md b/en/application-dev/reference/apis/js-apis-data-rdb.md index ffef95aa4dd23ea3c02fcdd5ddf30ae4e46e517f..f8aa9aa6ee35656ef11f47a17889fded61aaede5 100644 --- a/en/application-dev/reference/apis/js-apis-data-rdb.md +++ b/en/application-dev/reference/apis/js-apis-data-rdb.md @@ -2557,57 +2557,6 @@ Runs the SQL statement that contains the specified parameters but does not retur ``` -### changeEncryptKey8+ - -changeEncryptKey\(newEncryptKey:Uint8Array, callback: AsyncCallback\):void - -Changes the encryption key of the RDB store. This method uses a callback to return the result. - -- Parameters - - - - - - - - - - - - - - - - - - - -

Name

-

Type

-

Mandatory

-

Description

-

newEncryptKey

-

Uint8Array

-

Yes

-

New encryption key. This parameter cannot be empty.

-

callback

-

AsyncCallback<number>

-

Yes

-

Callback invoked to return the result.

-
- - -- Example - - ``` - var newKey = new Uint8Array([1, 2]) - rdbStore.changeEncryptKey(newKey, function (ret) { - console.info(TAG + "result is " + ret)}) - ``` - - - ## StoreConfig Manages the configuration of an RDB store.