aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Ghigonis <laurent@p1sec.com>2013-06-16 14:23:31 +0200
committerLaurent Ghigonis <laurent@p1sec.com>2013-06-16 14:23:31 +0200
commitcfbddc1631ba07bc93f837cbea86db290323aa8b (patch)
tree36b0e05a6005ab03b46765d21fb15bfc6d7cd4f9
parentadd jsaccess - download and decrypt files in the browser (diff)
downloadlaurent-tools-cfbddc1631ba07bc93f837cbea86db290323aa8b.tar.xz
laurent-tools-cfbddc1631ba07bc93f837cbea86db290323aa8b.zip
jsaccess: remove unused function
-rw-r--r--jsaccess/jsa/jsa.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/jsaccess/jsa/jsa.js b/jsaccess/jsa/jsa.js
index 67b55b9..45030f8 100644
--- a/jsaccess/jsa/jsa.js
+++ b/jsaccess/jsa/jsa.js
@@ -34,13 +34,6 @@ function _dl(file, pass) {
});
}
-function hex2a(hex) {
- var str = '';
- for (var i = 0; i < hex.length; i += 2)
- str += String.fromCharCode(parseInt(hex.substr(i, 2), 16));
- return str;
-}
-
function _decrypt(obj, pass, name) {
try {
var decrypted = GibberishAES.dec(obj, pass);