@relicx_/kernel 1.1.47 → 1.1.48

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.
Files changed (3) hide show
  1. package/index.d.ts +1 -1
  2. package/index.js +1 -1
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -267,7 +267,7 @@ declare class Database extends Module {
267
267
  }
268
268
  declare function CreateDatabase(): boolean;
269
269
 
270
- declare function Encrypt(buffer: Buffer, key: string, algorithm: string): Buffer;
270
+ declare function Encrypt(buffer: Buffer, key: string, algorithm: string, randiv?: boolean): Buffer;
271
271
  declare function Decrypt(buffer: Buffer, key: string, algorithm: string): Buffer;
272
272
  declare function HMACSHA256(sData: string, sKey: string): string;
273
273
  declare function HMACSHA1(sData: string): string;