Added key management, fixed bug preventing long Blowfish keys.