Skip to content

Commit 5693617

Browse files
committed
@params descriptions added to types
1 parent 8bc0a07 commit 5693617

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/**
2+
* ### BigBuffer encrypter with v8 serializer
3+
* @param publicKey Public Key as string
4+
* @param modLength Maximum length of each chunk encrypted individually
5+
* @param data Data to encrypt
6+
* @returns Encrypted data
7+
*/
18
export type EncryptBigBuffer = (publicKey: string, modLength: number, data: Buffer) => Buffer
29

10+
/**
11+
* ### BigBuffer encrypter for v8 serializer data
12+
* @param privateKey Private Key as string
13+
* @param data Encrypted data to decrypt
14+
* @returns Decrypted data
15+
*/
316
export type DecryptBigBuffer = (privateKey: string, data: Buffer) => Buffer

0 commit comments

Comments
 (0)