Add cryptography implementation and base64 code, add new license