@relicx_/kernel 1.1.23 → 1.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +2 -2
- package/index.js +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -265,8 +265,8 @@ declare class Database extends Module {
|
|
|
265
265
|
}
|
|
266
266
|
declare function CreateDatabase(): boolean;
|
|
267
267
|
|
|
268
|
-
declare function Encrypt(buffer:
|
|
269
|
-
declare function Decrypt(buffer:
|
|
268
|
+
declare function Encrypt(buffer: Buffer, key: string, algorithm: string): Buffer;
|
|
269
|
+
declare function Decrypt(buffer: Buffer, key: string, algorithm: string): Buffer;
|
|
270
270
|
declare function HMACSHA256(sData: string, sKey: string): string;
|
|
271
271
|
declare function HMACSHA1(sData: string): string;
|
|
272
272
|
declare function HMACSHA1Base64(sData: string): string;
|