"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const node_aes_1 = require("./node-aes");
describe('NodeAes', () => {
    it('decrypts a string', () => {
        const input = `U2FsdGVkX18D1FM72KIt7cOorbZj0282W/nhXozdTIs8yoTgDexLS0dXcWbe
6lV9UztBht2aqJWbviv3mxLH0o4mkU3vDM1xW5E1x1BlsHsLsVgA60mED3FM
aFoi5xeqjSKVvsazypM5L+Q1trRzOTBLfuq4FNBzyB4c1axNnvmWuTpRmR2d
BYjPw7kF7zQb`;
        const expected = 'This is some test data that we would like to encrypt for testing hte performance of the two methods of encyrption';
        const key = 'TopSecretKeyPhrase';
        const aes = new node_aes_1.NodeAes();
        const output = aes.decrypt(input, key);
        expect(output).toBe(expected);
    });
});
