Skip to content
This repository was archived by the owner on Jan 23, 2022. It is now read-only.

useful functions

luksab edited this page Nov 21, 2019 · 6 revisions

These are the uses of functions:

  • encryptMessage(publicKey,msg,Uint8Array(16) IV)) encrypt string msg with AES-CBC key publicKey and the local IV. Returns a string containing the "ciphertext".
  • decryptMessage(publicKey,msg,Uint8Array(16) IV)) decrypt string msg with AES-CBC key publicKey and the local IV. Returns a string containing the "plaintext".
Clone this wiki locally