Hi,
attatch is the patch for this issue, please help review it.
issue link is https://github.com/pgpool/pgpool2/issues/129
I have verified it, the result as below:
[root(at)test1 bin]# ./pg_enc -p -P
db password:
encryption key:
PtFXv5keNmBzsARTtJduzw==
pool_passwd string: AESPtFXv5keNmBzsARTtJduzw==