Solved Base32 encoder/decoder
-
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 ); }
-
-
@ckvsoft
well it was worth a shot :) -
Hi! CyoEncode might be good enough.
-
@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
-
IANAL but as CyoEncode is published under BSD 2-Clause license it is IMHO compatible with both GPL and LGPL.
-
@Wieland
Thanx for InfoI adapt and extract Base32 from CyoEncode for my need.
thx