no need console.log
This commit is contained in:
parent
09d33523b6
commit
ec2fec9bf8
@ -23,9 +23,9 @@ describe("Encryption tests", () => {
|
|||||||
const k = "jfkkjkjbce7983ycdeknkkjckooAIUHIDIBIE((*BII)njD/d/dd/d/sjxhux";
|
const k = "jfkkjkjbce7983ycdeknkkjckooAIUHIDIBIE((*BII)njD/d/dd/d/sjxhux";
|
||||||
const password = "hfiuibec989###oiu982bj1`";
|
const password = "hfiuibec989###oiu982bj1`";
|
||||||
const enc = await encryptStringToBase32(k, password);
|
const enc = await encryptStringToBase32(k, password);
|
||||||
console.log(enc);
|
// console.log(enc);
|
||||||
const dec = await decryptBase32ToString(enc, password);
|
const dec = await decryptBase32ToString(enc, password);
|
||||||
console.log(dec);
|
// console.log(dec);
|
||||||
expect(dec).equal(k);
|
expect(dec).equal(k);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user