hardened encryption from hectorj, added bootstrap template, added options to qr code generator