Novice question on encoding Base64
Hank Nussbacher <troi!HANK@vm.biu.ac.il> Thu, 27 May 1993 14:04 UTC
Received: from ietf.nri.reston.va.us by IETF.CNRI.Reston.VA.US id aa06081; 27 May 93 10:04 EDT
Received: from CNRI.RESTON.VA.US by IETF.CNRI.Reston.VA.US id aa06075; 27 May 93 10:04 EDT
Received: from dimacs.rutgers.edu by CNRI.Reston.VA.US id aa10761; 27 May 93 10:04 EDT
Received: by dimacs.rutgers.edu (5.59/SMI4.0/RU1.5/3.08) id AA22474; Thu, 27 May 93 09:17:23 EDT
Received: from uucp-gw-2.pa.dec.com by dimacs.rutgers.edu (5.59/SMI4.0/RU1.5/3.08) id AA22470; Thu, 27 May 93 09:17:21 EDT
Received: by uucp-gw-2.pa.dec.com; id AA27556; Thu, 27 May 93 05:56:36 -0700
Received: from troi by sgiblab.sgi.com via UUCP (920330.SGI/911001.SGI) id AA02252; Thu, 27 May 93 05:55:44 -0700
Received: by troi.dbaccess.com (AIX 3.1/UCB 5.61/4.03) id AA26811; Thu, 27 May 93 05:53:30 -0700
To: sgiblab!decwrl!info-ietf-smtp@uucp-gw-2.pa.dec.com
Path: troi!sgiblab!spool.mu.edu!caen!malgudi.oar.net!news.ysu.edu!blekul11!frmop11.cnusc.fr!barilvm!hank
Sender: ietf-archive-request@IETF.CNRI.Reston.VA.US
From: Hank Nussbacher <troi!HANK@vm.biu.ac.il>
Newsgroups: comp.mail.mime,info.ietf.smtp
Subject: Novice question on encoding Base64
Message-Id: <93147.131715HANK@vm.biu.ac.il>
Date: Thu, 27 May 1993 12:49:05 +0000
Organization: Bar-Ilan University Computing Center, Israel
Lines: 12
Suppose I have text of 151 octets. This translates into a quantum of 1208 bits. According to page 16 of RFC1341, I need to pad it with zero bits until I get a full 6 bit group, so I add a 4 zero bit pad to make the quantum 1212 bits long. So far, so good. Now how many '=' pads do I have to add? I didn't fully understand page 16. If I check 1212 against 24, I am left with a remainder of 12, which doesn't fall into the 8bit or 16bit remainder spec detailed there. I am missing something. Thanks, Hank Nussbacher
- Novice question on encoding Base64 Hank Nussbacher