diff --git a/javascript/encrypt.js b/javascript/encrypt.js index 6a68312..45caef9 100644 --- a/javascript/encrypt.js +++ b/javascript/encrypt.js @@ -5,7 +5,7 @@ function encode(string) { number += string.charCodeAt(i).toString(16); return number; } -function crypt(input, key) { +export function crypt(input, key) { var key = key.split(''); var output = []; int1 = encode(key);