Added more encryption methods and convert char[] as input key to a properly sized key
1. byteArrayToByteArray
2. StringToBase64
3. ByteArrayToBase64