revisions
This commit is contained in:
parent
12ccce3016
commit
dafe4884fc
9 changed files with 86 additions and 89 deletions
|
@ -179,12 +179,12 @@ export default class Keychain {
|
|||
return ciphertext;
|
||||
}
|
||||
|
||||
async encryptStream(plaintext) {
|
||||
encryptStream(plaintext) {
|
||||
const enc = new ECE(plaintext, this.rawSecret, 'encrypt');
|
||||
return enc;
|
||||
}
|
||||
|
||||
async decryptStream(encstream) {
|
||||
decryptStream(encstream) {
|
||||
const dec = new ECE(encstream, this.rawSecret, 'decrypt');
|
||||
return dec;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue