Fixed the crypt library
Added new script to create secure keys
Developed functional test