Base32 encoder/decoder
-
wrote on 25 Jan 2016, 13:21 last edited by
Hi there.
I need a Base32 decoder/encoder which works with QT5
I'm using cryptopp for AES Encoding/Decoding SHA-256 Hashing and other ones.
There is an Base32 encoder/decoder available but they do not work with
RFC 4648i tested QCA but here i can't load the plugin's
I'm using QT5 on Ubuntu 15.10 (wily)
lg Chris
-
hi base64 mentions RFC 4648. but is 64 so not use u can use it.
QString base64_encode ( QString string ) { QByteArray ba; ba.append ( string ); return ba.toBase64(); } QString base64_decode ( QString string ) { QByteArray ba; ba.append ( string ); return QByteArray::fromBase64 ( ba ); }
-
hi base64 mentions RFC 4648. but is 64 so not use u can use it.
QString base64_encode ( QString string ) { QByteArray ba; ba.append ( string ); return ba.toBase64(); } QString base64_decode ( QString string ) { QByteArray ba; ba.append ( string ); return QByteArray::fromBase64 ( ba ); }
-
@ckvsoft
well it was worth a shot :) -
wrote on 25 Jan 2016, 15:21 last edited by
Hi! CyoEncode might be good enough.
-
Hi! CyoEncode might be good enough.
wrote on 25 Jan 2016, 15:44 last edited by@Wieland
thx, but how must i handle BSD License with QT?
I'm not sure of handling Mixed Liceses for my Project. Now i only use LGPLlg Chris
-
wrote on 25 Jan 2016, 17:23 last edited by
IANAL but as CyoEncode is published under BSD 2-Clause license it is IMHO compatible with both GPL and LGPL.
-
IANAL but as CyoEncode is published under BSD 2-Clause license it is IMHO compatible with both GPL and LGPL.
wrote on 25 Jan 2016, 20:29 last edited by ckvsoft@Wieland
Thanx for InfoI adapt and extract Base32 from CyoEncode for my need.
thx
1/8