Working master key generation, database decryption and HBIO algorithm.