JavaScript crypto lecture