# cat user.csv
a00,{enc2}WWgh8S9Zr4FspHwh4Ida8A==,a,1,a00,0,,,,,,,,,,
a000,{enc2}wlAFVKF2Nka5Q53kcaRoUA==,a,1,,0,,,,,,,,,,
a0001,{enc2}JWjDZkIXAYX75m70Rqgg4Q==,a,1,,0,,,,,,,,,,
# awk -F'[},]' '{print $3}' user.csv
WWgh8S9Zr4FspHwh4Ida8A==
wlAFVKF2Nka5Q53kcaRoUA==
JWjDZkIXAYX75m70Rqgg4Q==
delphi 中有个EncdDecd类,这个是delphi自带的base64编码类,里面提供了编码和解码函数分别是: function EncodeString(const Input: string): string; //编码 function DecodeString(const Input: string): string; //解码