Version 1.0.1

Fixed a bug in the API for encryption and minor fix in index.html