maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Eggers <its_toas...@yahoo.com.INVALID>
Subject Re: compile:compile failure on sun proprietary implementation API usage
Date Fri, 29 Aug 2014 21:02:13 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 8/29/2014 1:39 PM, kvnsmnsn wrote:
> Right now the code that's messing me up is:
> 
> byte[] bytesTimestampUtf8Encrypted = 
> cipher.doFinal(bytesTimestampUtf8Unencrypted); String secret =
> (new BASE64Encoder()).encodeBuffer(bytesTimestampUtf8Encrypted);
> 
> How would I implement this with the Apache Commons Codec?

http://commons.apache.org/proper/commons-codec/archives/1.9/apidocs/org/apache/commons/codec/binary/Base64.html

??

. . . just my two cents
/mde/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (MingW32)

iQEcBAEBAgAGBQJUAOpVAAoJEEFGbsYNeTwt3j0H/0nzvsaKBE4lfVnAcHsKyNRW
vcMOomBU1fYXliKK9j7O0yTpmi31F0J13m5NLKF8YyNp9eNDztEAPdxrT1pa5yhW
jk8/Vvgqwpll3QyohZTY8ejVF79ArELLm6kP2y8W2oUj5RRRJoqHl7a2gQrf12Gp
R1MNWdcaBlxHpT7FK84bir64pzKRKN+7GupDTHvGOYkMe+gCf8zENXpRj5XGtYP3
ySdv/OBB3zxhURe6bEmIcySUf1j0B7sHNZ2Usn6FBeqDq1OvmfIGAv4r1en8lo+J
z8SYO6NrSjId2yaFsh8jwBhMd1eveGnHPtD5pjUPo3AzO+P6UgIzg9rcGV1jmGk=
=ymBi
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message