Cipher, byte[]s and Strings; oh my!

'Base64 Encoding' tutorial was cited in an Experts-Exchange answer in 2004.

The Base64 Encoding tutorial was cited in an Experts-Exchange answer in 2004. Note that my Geocities site has been moved to herongyang.com now.

Subject: Cipher, byte[]s and Strings; oh my!
Date: Jun 24, 2004
Author: gnoon
Source: http://www.experts-exchange.com/Programming/Languages
   /Java/Q_21318096.html

>I've got a method here that's supposed to encrypt or decrypt a
>password, for the purposes of saving to or loading from a file.  The
>saving and loading from file part is handled by a Properties object,
>which as you may be aware can only deal with Strings, and reads and
>writes exclusively in the ISO-8859-1 charset.  (Yes, I know mixing
>Java Strings with cryptography is nasty stuff; I'm modifying someone
>else's code. :/)
...

The code below is Sun Implementation of the Base64 algorithm
(http://www.geocities.com/herong_yang/data/base64.html)
...

Table of Contents

 About This Book

 Reference Citations in 2023

 Reference Citations in 2022

 Reference Citations in 2021

 Reference Citations in 2020

 Reference Citations in 2019

 Reference Citations in 2018

 Reference Citations in 2017

 Reference Citations in 2016

 Reference Citations in 2015

 Reference Citations in 2014

 Reference Citations in 2013

 Reference Citations in 2012

 Reference Citations in 2011

 Reference Citations in 2010

 Reference Citations in 2009

 Reference Citations in 2008

 Reference Citations in 2007

 Reference Citations in 2006

 Reference Citations in 2005

Reference Citations in 2004

 HelloWeb Quick Start Guide

 Float vs Double

 J2SE Unicode 转化为 GB2312

 Cookies Don't Persist

 tomcat problem

 Jakarta Taglibs, JSTL Problem

 Dovecot SSL Warning (Not Error)

Cipher, byte[]s and Strings; oh my!

 BodyTagSupport and JSP body-content

 Codifica Base64

 Java: Catching Stack Overflow

 Invoking Remote Webservices from a Perl Client

 IP Protection and Encryption Donation

 Validate XML Documents in Java

 Java - Boolean

 GB2312 and Unicode Mapping Table

 CST 365/465 - Web Programming I

 Reference Citations in 2003