javascript library for understand cryptography methods