Methods
getRSAEncryptedKey
- getRSAEncryptedKey(): Uint8Array
randomCipherIV
- randomCipherIV(): Uint8Array
toAESDecrypted
- toAESDecrypted(buffer: Uint8Array, iv: Uint8Array): Uint8Array
-
Parameters
-
buffer: Uint8Array
-
iv: Uint8Array
Returns Uint8Array
toAESEncrypted
- toAESEncrypted(buffer: Uint8Array, iv: Uint8Array): Uint8Array
-
Parameters
-
buffer: Uint8Array
-
iv: Uint8Array
Returns Uint8Array
toRSAEncrypted
- toRSAEncrypted(buffer: Uint8Array): Uint8Array
-
Parameters
Returns Uint8Array
Stores keys and implement cipher / decipher